www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit cf7aeee692f9c9235d258cff82b4eb67e7db709b
parent b90b3b8932668d590dd5b60edb818d4570a6d03b
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Wed, 16 Oct 2024 23:50:39 -0700

Disable point handler when panning or zooming

Diffstat:
Mfiles/floorplans/floorplan/main.js | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/files/floorplans/floorplan/main.js b/files/floorplans/floorplan/main.js @@ -836,6 +836,13 @@ function precisePointHandler(event, editor, state) { cleanup() } + if (State.panZoom) { + if (state.to) { + revert() + } + return + } + if (event.type === "pointermove") { if (!primaryMove(event)) { return