www.spaceplanner.app

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

commit 88419f2e5916e6a6ef2a9b459024b15776bdb646
parent f21a7003196ce54dfc7b20337ecf55b81426da1f
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Fri, 18 Oct 2024 00:13:23 -0700

Fix Select mode detection

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

diff --git a/files/floorplans/floorplan/main.js b/files/floorplans/floorplan/main.js @@ -556,7 +556,7 @@ function selectionHandler(event, editor) { } if (sel != null) { - if (!editor.mode === "Select") { + if (editor.mode !== "Select") { sel.select() } else { let selection = addSelection(editor, sel, true) @@ -567,7 +567,7 @@ function selectionHandler(event, editor) { } } } else { - if (!editor.mode === "Select") { + if (editor.mode !== "Select") { editor.draw.select() } escape()