mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 01:27:49 +08:00
@@ -677,6 +677,10 @@ class _MouseInteractiveViewerState extends State<MouseInteractiveViewer>
|
||||
|
||||
void _onPointerDown(PointerDownEvent event) {
|
||||
widget.onPointerDown?.call(event);
|
||||
final localPosition = event.localPosition;
|
||||
if (localPosition.dx < 40 || localPosition.dy < 40) {
|
||||
return;
|
||||
}
|
||||
_scaleGestureRecognizer.addPointer(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user