commit 81a69ff5cb0eaa4e2bd5832886d9d536be2bdf84
parent ea8ce2836f50666f801d6d294f562cde4aa78ee4
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Wed, 6 Nov 2024 22:11:42 -0800
Hide furniture labels by default
Maybe in the future I'll have them shown by default, but they're
still pretty primitive and annoying. In the future I want them to
be fit inside the furniture by first rotating, then if needed by
reducing font-size, and finally truncating the name if it still
doesn't fit.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/files/floorplans/floorplan/main.js b/files/floorplans/floorplan/main.js
@@ -156,6 +156,7 @@ function run(editor) {
editor.addMode(mode, modes[mode])
}
editor.useMode(defaultMode)
+ editor.furnitureLabels(false)
let toolbar = document.querySelector("header")
.appendChild(document.createElement("ul"))