commit 15c37c0426ace0c753c7e94453c17ba4ab4a816a
parent 6e28d73c13982081834643757d2a29c59187ae6d
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Fri, 11 Oct 2024 17:37:31 -0700
Remove pushpull toolbar item
Now that should be done automatically (although to pull you'd have
to reload the page, but since editing the same floorplan with
different editors isn't supported yet it's a non-issue).
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/files/floorplans/floorplan/main.js b/files/floorplans/floorplan/main.js
@@ -118,14 +118,6 @@ function init() {
etc.error("That's unexpected. Unable to get furniture definitions")
})
- let push = ui.button("Push", "Push updates", "arrow-up",
- { handlers: { click: function() { editor.backend.push(); notify("Pushed floorplan", "pushpull") } } })
- let pull = ui.button("Pull", "Pull updates", "arrow-down",
- { handlers: { click: function() { editor.backend.pull(); notify("Pulled floorplan", "pushpull") } } })
- let pushpull = document.createElement("li")
- pushpull.appendChild(pull)
- pushpull.appendChild(push)
-
for (let mode in modes) {
editor.addMode(mode, modes[mode])
}
@@ -177,7 +169,6 @@ function init() {
}})
toolbar.append(undoRedo)
- toolbar.append(pushpull)
toolbar.append(item(addFurn))
if (debug) {