www.spaceplanner.app

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

commit 572fa60a9dce5ec53404ffaf24f68fe670887513
parent da616377238617ae867a85f0844c8282d2d86aec
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Mon, 14 Oct 2024 21:41:35 -0700

Remove Delete keybind for now

It stops it from being registered by inputs, so that's not okay.
Hope to add it back later but have inputs take it first (along with
the + and - keybinds).

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 @@ -459,8 +459,8 @@ function selectionHandler(event, editor) { function keyHandler(ev, editor) { if (ev.key === "Escape") { escape() - } else if (ev.key === "Backspace" || ev.key === "Delete") { - editor.remove(...editor.draw.find(".selected").array()) + /*} else if (ev.key === "Backspace" || ev.key === "Delete") { + editor.remove(...editor.draw.find(".selected").array())*/ } else if (ev.key === "+") { editor.draw.zoom(editor.draw.zoom() * 1.25) editor.updateGrid()