refa: reply2reply panel

tweaks

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-13 14:26:08 +08:00
parent 0f2908dbc1
commit d3f4ba4b4a
16 changed files with 387 additions and 376 deletions

View File

@@ -846,7 +846,9 @@ class _InteractiveViewerState extends State<InteractiveViewer>
_currentRotation = desiredRotation;
case _GestureType.pan:
assert(_referenceFocalPoint != null);
if (_referenceFocalPoint == null) {
return;
}
// details may have a change in scale here when scaleEnabled is false.
// In an effort to keep the behavior similar whether or not scaleEnabled
// is true, these gestures are thrown away.