feat(shortcut): area
This commit is contained in:
@@ -2192,6 +2192,12 @@ const LabelPage = ({
|
||||
}
|
||||
}
|
||||
|
||||
if (e.key === "F2") {
|
||||
e.preventDefault()
|
||||
paperContainerRef.current?.filterBySizeThreshold?.()
|
||||
return
|
||||
}
|
||||
|
||||
// 追踪
|
||||
if (e.key === "i") {
|
||||
e.preventDefault()
|
||||
@@ -2585,6 +2591,9 @@ const LabelPage = ({
|
||||
updateOldWorkLoad={updateOldWorkLoad}
|
||||
isLabelTask={isLabelTask}
|
||||
onOperationChange={handleSelectOperation}
|
||||
onFilterBySizeThreshold={() => {
|
||||
paperContainerRef.current?.filterBySizeThreshold?.()
|
||||
}}
|
||||
renderPolygons={
|
||||
paperContainerRef.current
|
||||
? paperContainerRef.current.renderPolygons
|
||||
|
||||
Reference in New Issue
Block a user