www.spaceplanner.app

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

commit b880467c657a196b468a873e69b77014e7347b7f
parent 0448bde9a9c451e1179bd43cd8e987b7e9ab5a47
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Wed,  9 Oct 2024 17:23:25 -0700

Push history on undo and redo

A bit overly costly perhaps, but that can be improved later.

Diffstat:
Mfiles/floorplans/floorplan/editor.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/files/floorplans/floorplan/editor.js b/files/floorplans/floorplan/editor.js @@ -501,10 +501,12 @@ export class FloorplanEditor { undo() { this.backend.undo() + this.backend.push() } redo() { this.backend.redo() + this.backend.push() } addPoint(point, force) {