errors in bottom panel are collapsible

This commit is contained in:
Joeri Exelmans 2025-10-21 10:51:17 +02:00
parent 297905a4af
commit 60a7d12857
6 changed files with 74 additions and 69 deletions

View file

@ -32,7 +32,7 @@ export type RountanglePart = "left" | "top" | "right" | "bottom";
export type ArrowPart = "start" | "end";
export const emptyState: VisualEditorState = {
rountangles: [], texts: [], arrows: [], diamonds: [], history: [], nextID: 0,
rountangles: [], texts: [], arrows: [], diamonds: [], history: [], nextID: 0, selection: [],
};
// used to find which rountangle an arrow connects to (src/tgt)