()
| 242 | } |
| 243 | |
| 244 | const handlePanEnd = () => { |
| 245 | setIsPanning(false) |
| 246 | setPanStart(null) |
| 247 | setIsDraggingText(false) |
| 248 | setDragOffset(null) |
| 249 | } |
| 250 | |
| 251 | // 重置视图到初始适应大小 |
| 252 | const handleResetView = () => { |
nothing calls this directly
no outgoing calls
no test coverage detected