Commit graph

30 commits

Author SHA1 Message Date
Ryan Di
a0032fcaf2 merge converted elbow points if too close 2025-04-25 20:48:58 +10:00
Ryan Di
7d5f5b3c62 use latest linear 2025-04-25 19:36:25 +10:00
Ryan Di
900ee41d0f fix elbow segment indexing 2025-04-25 11:09:18 +10:00
Ryan Di
f99fe54797 respect initial type when switching between linears 2025-04-25 10:40:36 +10:00
Ryan Di
63dd599089 rename type 2025-04-25 09:44:39 +10:00
Ryan Di
c83cc025df move logic from mutate to shape switch 2025-04-23 22:39:56 +10:00
Ryan Di
37e12ec201 type safe element conversion 2025-04-23 21:36:16 +10:00
Ryan Di
de6acc4bad cache linear when panel shows up 2025-04-23 21:01:09 +10:00
Ryan Di
7541fadf9c safe conversion between line, sharp, curved, and elbow 2025-04-23 17:59:03 +10:00
Ryan Di
c90cdb7b74 clean switch of arrows using app state 2025-04-22 23:07:15 +10:00
Ryan Di
67793860b4 remove debug logic 2025-04-22 22:31:02 +10:00
Ryan Di
5ee209c236 bend line to elbow if needed 2025-04-22 18:52:10 +10:00
Ryan Di
eff67c5e01 cache initial panel position 2025-04-22 09:55:02 +10:00
Ryan Di
1c4b3cc0b1 remove hint 2025-04-22 09:07:40 +10:00
Ryan Di
8e9e0e2709 limit which linear elements can be switched 2025-04-16 18:04:16 +10:00
Ryan Di
f35c4c2b46 merge with latest 2025-04-02 19:04:51 +11:00
Ryan Di
a99ca82389 redraw to correctly position text 2025-04-02 18:48:06 +11:00
Ryan Di
3272841b23 provide an optional direction when shape switching 2025-04-02 17:05:01 +11:00
Ryan Di
66812e5ab3 prefer generic when mixed 2025-03-26 10:52:28 +11:00
Ryan Di
31d2c0b7e9 do not switch from active tool change 2025-03-24 23:43:30 +11:00
Ryan Di
8af03454cb use tab only 2025-03-24 12:09:42 +11:00
Ryan Di
aa9139ad78 switch different types altogether 2025-03-24 12:07:57 +11:00
Ryan Di
41a4dadaaf switch multi 2025-03-24 11:45:02 +11:00
Ryan Di
230a339c7b keep original font size 2025-03-21 16:28:24 +11:00
Ryan Di
ea4f653c44 refactor 2025-03-21 14:12:44 +11:00
Ryan Di
2a826f8162 fix panel state 2025-03-21 12:58:34 +11:00
Ryan Di
d0274ad5d3 only show hint when a new node is created 2025-03-19 20:00:19 +11:00
Ryan Di
56a0b33101 style tweaks 2025-03-14 21:49:36 +11:00
Ryan Di
9e1e134edf merge with master 2025-03-14 20:13:22 +11:00
Ryan Di
407d8ababb feat: switch between basic shapes 2025-03-14 19:54:18 +11:00