www.spaceplanner.app

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

commit 1eee3ba0f18eb5663da670b80e62660729313f8b
parent 4834832911f20df71ee45fc3d210f29c4c4c6e35
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Mon, 30 Sep 2024 12:46:24 -0700

Fix calls to userLength

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 @@ -860,9 +860,9 @@ function furnitureMenuX(editor, pointOrID) { let v = editor.furniture_types[type].varieties[variety] params.width = v.width - items[keys.width].input.value = userLength(v.width) + items[keys.width].input.value = userLength(editor, v.width) params.depth = v.depth - items[keys.depth].input.value = userLength(v.depth) + items[keys.depth].input.value = userLength(editor, v.depth) editor.addMappedFurniture(params, id) } const newVariety = function(init) {