From f2d00097d6b8f8e5f83564eee6ceef281c3e14b3 Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Tue, 4 Mar 2025 15:14:12 +0100 Subject: [PATCH] Add grid snapping, grid preview, fix zoom slowdowns and canvas markdown editing being at the wrong size. --- components/CanvasEditor.vue | 67 +++++++++++++++++++++---- components/Editor.vue | 35 +++---------- components/FramedEditor.vue | 40 +++++++++++++++ components/canvas/CanvasEdgeEditor.vue | 2 +- components/canvas/CanvasNodeEditor.vue | 2 +- db.sqlite | Bin 585728 -> 610304 bytes db.sqlite-shm | Bin 32768 -> 32768 bytes db.sqlite-wal | Bin 3164192 -> 1306072 bytes nuxt.config.ts | 3 +- pages/explore/edit/index.vue | 4 +- shared/physics.util.ts | 59 +++++++++++++++------- types/general.d.ts | 1 + 12 files changed, 151 insertions(+), 62 deletions(-) create mode 100644 components/FramedEditor.vue diff --git a/components/CanvasEditor.vue b/components/CanvasEditor.vue index 68dcce7..c563ae5 100644 --- a/components/CanvasEditor.vue +++ b/components/CanvasEditor.vue @@ -1,10 +1,9 @@