Commit Graph

3877 Commits

Author SHA1 Message Date
dwelle
073f47d253 tweak highlight stroke width some more 2025-09-14 22:48:56 +02:00
dwelle
6c2f5dbd81 handle overlap when both elements the same size 2025-09-14 19:04:31 +02:00
dwelle
4e7b399927 reduce timeout 2025-09-14 14:48:28 +02:00
dwelle
7172006d1b update hints 2025-09-14 14:48:28 +02:00
Mark Tolmacs
b1006e2bfd fix: Locked elbow arrow creation 2025-09-14 14:05:55 +02:00
dwelle
4d8a1b29f6 render highlight on the outside 2025-09-14 13:41:32 +02:00
dwelle
f6978ae162 tweak binding highlight width 2025-09-14 13:39:44 +02:00
dwelle
b789308798 POC: highlight center on hover 2025-09-14 13:39:40 +02:00
Mark Tolmacs
ef2bde0d03 fix:More stroke width for highlight 2025-09-13 14:46:24 +02:00
Mark Tolmacs
80706f733b fix:Arrow tool hover stuck highlight 2025-09-13 14:44:24 +02:00
Mark Tolmacs
737f6e08c1 feat: Center point with more precise highlight outlines 2025-09-13 14:41:47 +02:00
dwelle
c4874e9dd9 ignore invisible elements when binding 2025-09-13 12:06:48 +02:00
Mark Tolmacs
45b7cfc14b fix:Change center binding to circular 2025-09-13 11:54:11 +02:00
Mark Tolmacs
65a105e30a fix: Reverse 2025-09-13 11:22:45 +02:00
Mark Tolmacs
ee6f4d9ce5 Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-09-13 11:17:02 +02:00
Mark Tolmacs
7ae4d3aab5 feat:Add tolerance to shape nesting detection 2025-09-13 10:59:36 +02:00
Mark Tolmacs
017b36aeae fix:More precise element nesting check 2025-09-12 19:19:49 +02:00
Ryan Di
204e06b77b feat: compact layout for tablets (#9910)
* feat: allow the hiding of top picks

* feat: allow the hiding of default fonts

* refactor: rename to compactMode

* feat: introduce layout (incomplete)

* tweak icons

* do not show border

* lint

* add isTouchMobile to device

* add isTouchMobile to device

* refactor to use showCompactSidebar instead

* hide library label in compact

* fix icon color in dark theme

* fix library and share btns getting hidden in smaller tablet widths

* update tests

* use a smaller gap between shapes

* proper fix of range

* quicker switching between different popovers

* to not show properties panel at all when editing text

* fix switching between different popovers for texts

* fix popover not closable and font search auto focus

* change properties for a new or editing text

* change icon for more style settings

* use bolt icon for extra actions

* fix breakpoints

* use rem for icon sizes

* fix tests

* improve switching between triggers (incomplete)

* improve trigger switching (complete)

* clean up code

* put compact into app state

* fix button size

* remove redundant PanelComponentProps["compactMode"]

* move fontSize UI on top

* mobile detection (breakpoints incomplete)

* tweak compact mode detection

* rename appState prop & values

* update snapshots

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-12 10:18:31 +10:00
Mark Tolmacs
3ab8f67bc6 fix: history 2025-09-11 22:04:51 +02:00
Mark Tolmacs
fb3fe09226 fix: Nested shape binding 2025-09-11 21:58:19 +02:00
Mark Tolmacs
e5c7a6304e fix: Binding highlight stroke on sharp bindables 2025-09-11 21:00:11 +02:00
Mark Tolmacs
434ed03f1e fix: Size-based orbit jump-in 2025-09-11 18:00:51 +02:00
Mark Tolmacs
d73e273e63 fix: Tune nested shape binding 2025-09-11 17:48:56 +02:00
Mark Tolmacs
8d7af92719 fix: Fully nested shapes 2025-09-11 16:39:41 +02:00
David Luzar
414182f599 fix: normalize file on paste/drop (#9959) 2025-09-10 17:59:02 +02:00
Mark Tolmacs
9ac0f8231c fix:Highlight flicker
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-10 17:34:19 +02:00
Mark Tolmacs
d4680df3d9 Trigger Rebuild 2025-09-10 14:44:31 +02:00
Mark Tolmacs
5830d518d4 fix: Image binding rule changed 2025-09-10 14:31:16 +02:00
Mark Tolmacs
b23768719d fix: New highlight overdraws arrow
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-09 13:50:05 +02:00
Mark Tolmacs
fce13ccefd chore: Laxing on invariants
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-09 11:20:43 +02:00
Mark Tolmacs
35c986cbef fix: Alt immediate update
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-09 11:10:54 +02:00
Mark Tolmacs
a06b828ed2 fix: snapshots
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-07 18:29:26 +02:00
Mark Tolmacs
7703cc2597 fix: Circular dep
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-07 18:27:12 +02:00
Mark Tolmacs
433774e892 fix: Binding suggestions
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-07 18:22:33 +02:00
Mark Tolmacs
be56e84596 fix: Existing arrow nested bindable
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-07 17:59:35 +02:00
Mark Tolmacs
eb9efc261a Alt unbind fix
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-07 16:31:18 +02:00
David Luzar
b9d27d308e fix: pasting not working in firefox (#9947) 2025-09-06 22:51:23 +02:00
Mark Tolmacs
b01eea9eb4 fix: Overlap behavior 2025-09-05 16:03:24 +02:00
Mark Tolmacs
109ff756f5 feat: Nested shapes handling
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-04 17:03:19 +02:00
Mark Tolmacs
6ea0102b0a fix: Lint
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-04 15:50:00 +02:00
Mark Tolmacs
8a3ba853ab fix: Multi-point arrows and linears
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-04 15:03:22 +02:00
Mark Tolmacs
bcf3127fe5 chore: Small refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-04 10:23:13 +02:00
Mark Tolmacs
5a62499e95 fix: New arrow never binds inside
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-03 21:34:22 +02:00
Mark Tolmacs
f8b8c0e95c fix: Arrow start inside binding switch
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-03 20:58:20 +02:00
Mark Tolmacs
364f0be815 Fix multipoint arrow orbit
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-03 18:29:03 +02:00
Mark Tolmacs
10d38a8539 feat: Alt inside start binding mode change 2025-09-02 17:00:45 +02:00
Mark Tolmacs
67fff43b92 fix: Ctrl+Alt precedence 2025-09-02 16:49:44 +02:00
Mark Tolmacs
62d7740c94 fix: Multipoint arrow opposite point movement 2025-09-02 16:39:38 +02:00
Mark Tolmacs
4f43399951 fix: Disable drag drag when arrow is bound 2025-09-02 16:15:57 +02:00
Mark Tolmacs
8dae900bbb fix: Dragging fix 2 2025-09-02 15:50:32 +02:00