1
0

Fix touch dragging control panel behavior in 2D mode

- Modify on2DTouchStart() to check dragging state before showing controls
- Prevents controls from appearing during active touch dragging
- Makes touch behavior consistent with mouse dragging behavior
- Controls hide when dragging starts and show when dragging ends
- Resolves issue where touch dragging would show controls while mouse dragging correctly hid them
- Ensures seamless user experience across desktop and mobile devices
This commit is contained in:
Michael Verdi
2025-07-31 22:11:33 -05:00
parent 83489ea969
commit 3b9a94a3b9

View File

@@ -990,7 +990,7 @@ function on2DMouseMove() {
} }
function on2DTouchStart() { function on2DTouchStart() {
if (is2DMode) { if (is2DMode && !isDragging) {
show2DControlPanel(); show2DControlPanel();
} }
} }