commit 30a08fed7f8ce1d08492746cbf25535a472744fb
parent cf25940c53d789b2227d59a1492a86ae26d94669
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Wed, 9 Oct 2024 14:41:15 -0700
Push to server after every action
While there are cases where it'd nice for this not to happen
automatically, those are mostly what undo is for. Can't have it
both ways, I think this way is better for this application.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/files/floorplans/floorplan/editor.js b/files/floorplans/floorplan/editor.js
@@ -494,6 +494,7 @@ export class FloorplanEditor {
// Should be called after each user "action"
finishAction() {
this.backend.history.mark()
+ this.backend.push()
}
undo() {