Commit Graph

146 Commits

Author SHA1 Message Date
dwelle
c412e81e27 fix: Preserve alternate orbit focus point during drag 2025-11-10 14:34:48 +01:00
Mark Tolmacs
438297f083 fix: Use last point for existing arrows 2025-11-08 21:28:57 +01:00
Mark Tolmacs
e92049d7a2 fix: Random projection 2025-11-08 20:47:17 +01:00
Mark Tolmacs
2ab27d5188 fix: Turn of start jump-out 2025-11-08 18:03:40 +01:00
Mark Tolmacs
3ac0a3c3ef fix: Restore arrow start point when self binding 2025-11-08 17:43:47 +01:00
Mark Tolmacs
ecfbdf8c48 chore: Remove debug 2025-11-07 17:25:31 +01:00
Mark Tolmacs
c75e09422e fix: New arrow preserved projection 2025-11-07 17:15:29 +01:00
Mark Tolmacs
494dc62a8d fix: Jump out to orbit for new arrows when dragged outside 2025-11-07 16:26:50 +01:00
Mark Tolmacs
6544bc9e3c fix: Alt precise positioning 2025-11-07 11:11:56 +01:00
Mark Tolmacs
11bb0860ea chore: Check debug
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-11-06 15:57:10 +01:00
Mark Tolmacs
dd70f4e00f feat: Alt does not snap
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-11-06 15:34:16 +01:00
Mark Tolmacs
90e7f8cb66 feat: Jump other binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-11-05 22:28:32 +01:00
Mark Tolmacs
0978483af1 chore: Remove settings
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-11-05 21:55:49 +01:00
Mark Tolmacs
d27bb72510 feat: Diagonal binding point
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-11-05 21:53:57 +01:00
Ryan Di
f4f234653e refactor: single source of truths with editor interface (#10178)
* refactor device to editor interface and derive styles panel

* allow host app to control form factor and ui mode

* add editor interface event listener

* put new props inside UIOptions

* refactor: move related apis into one file

* expose getFormFactor

* privatize the setting of desktop mode and fix snapshots

* refactor and fix test

* remove unimplemented code

* export getFormFactor()

* replace `getFormFactor` with `getEditorInterface`

* remove dead & useless

* comment

* fix ts

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-11-04 18:12:14 +01:00
Mark Tolmacs
629ce12293 fix: Same shape binding 2025-11-03 15:03:14 +01:00
Mark Tolmacs
465c645240 feat: Binding highlight band re-added 2025-10-31 18:51:18 +01:00
Mark Tolmacs
03e29cc0b7 fix: Diamond corner binding 2025-10-31 18:51:18 +01:00
Mark Tolmacs
2997594492 Simplified binding 2025-10-31 18:51:18 +01:00
Mark Tolmacs
481296efa9 fix: Arrow vanishes when orbit binding to the same element 2025-10-30 18:48:42 +01:00
Mark Tolmacs
f4ab372ed6 fix: Inside-inside during drag
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-10-29 19:48:19 +01:00
Mark Tolmacs
385efce863 fix: Lint 2025-10-27 12:24:57 +01:00
Mark Tolmacs
6b1a9fca96 fix: Skip frame cutout for hover, but keep shape for binding 2025-10-27 12:24:47 +01:00
Mark Tolmacs
df816fd970 fix: Bind mode 2025-10-21 20:41:46 +02:00
Mark Tolmacs
b95649a6e5 fix: Test
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-10-21 20:18:13 +02:00
Márk Tolmács
0fc5b31008 fix: Increase transform handle offset (#10180)
* fix: Increase transform handle offset

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Temporarily disable transform handles for linear elements on mobile and tablets

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Linear hidden resize

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* disable mobielOrTablet linear element bbox completely

* fix: Test

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Lint

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

---------

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-10-21 20:16:30 +02:00
Mark Tolmacs
12c67386cf feat: Bind to frame when frame-bound object hidden part is approached 2025-10-21 19:58:36 +02:00
Mark Tolmacs
7e10773ecf Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-10-10 22:56:43 +02:00
Mark Tolmacs
539e805e91 FEAT: No binding to frame cutout 2025-10-10 19:45:08 +02:00
Ryan Di
416e8b3e42 feat: new mobile layout (#9996)
* compact bottom toolbar

* put menu trigger to top left

* add popup to switch between grouped tool types

* add a dedicated mobile toolbar

* update position for mobile

* fix active tool type

* add mobile mode as well

* mobile actions

* remove refactored popups

* excali logo mobile

* include mobile

* update mobile menu layout

* move selection and deletion back to right

* do not fill eraser

* fix styling

* fix active styling

* bigger buttons, smaller gaps

* fix other tools not opened

* fix: Style panel persistence and restore

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* move hidden action btns to extra popover

* fix dropdown overlapping with welcome screen

* replace custom popup with popover

* improve button styles

* swapping redo and delete

* always show undo & redo and improve styling

* change background

* toolbar styles

* no any

* persist perferred selection tool and align tablet as well

* add a renderTopLeftUI to props

* tweak border and bg

* show combined properties only when using suitable tools

* fix preferred tool

* new stroke icon

* hide color picker hot keys

* init preferred tool based on device

* fix main menu sizing

* fix welcome screen offset

* put text before image

* disable call highlight on buttons

* fix renderTopLeftUI

---------

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-10-09 23:48:31 +02:00
Mark Tolmacs
9551f2f8fb Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-10-01 10:46:38 +02:00
zsviczian
fde796a7a0 feat: Make naming of library items discoverable (#10041)
* updated library relevant strings

* fix: detect name changes

* clarify hashing function

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-30 18:38:10 +00:00
Mark Tolmacs
1744c7aa56 feat: Center binding on SHIFT key
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-29 10:55:48 +02:00
Mark Tolmacs
0232917443 feat: No angle lock over bindable elements
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-29 10:55:26 +02:00
Mark Tolmacs
2a4f7e94b1 fix: Allow already inside bound arrows to continue inside binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-29 09:51:47 +02:00
Mark Tolmacs
af4e1befef Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-09-24 20:29:27 +02:00
Márk Tolmács
a89a03c66c fix: Arrow eraser precision arrow selection (#10006) 2025-09-24 20:28:41 +02:00
Mark Tolmacs
f85a4b6998 Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-09-24 19:38:23 +02:00
Márk Tolmács
06c40006db fix: Elbow arrow routing issue with diamonds and ellipses (#10021) 2025-09-24 19:22:32 +02:00
Mark Tolmacs
83c7841bf1 Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-09-21 09:56:59 +02:00
Mark Tolmacs
50e58abfd3 fix:Tool lock binding behavior restored 2025-09-17 20:52:52 +02:00
Mark Tolmacs
d6e3839d31 fix:Poisoned arrow 2025-09-17 18:56:41 +02:00
Mark Tolmacs
5b77409eff fix: Jump arrow inside it gets visially too short
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-16 19:14:29 +02:00
Mark Tolmacs
6398d14f3f feat: Remove center binding 2025-09-16 17:08:07 +02:00
Mark Tolmacs
f2f5168355 chore: Logic for measurement 2025-09-16 17:05:30 +02:00
Mark Tolmacs
e67338bff0 fix: New arrow start orbit when nested binds on the end 2025-09-15 11:01:30 +02:00
Mark Tolmacs
5a350a17c0 fix:Add intersection padding 2025-09-15 10:55:00 +02:00
dwelle
6c2f5dbd81 handle overlap when both elements the same size 2025-09-14 19:04:31 +02:00
Mark Tolmacs
b1006e2bfd fix: Locked elbow arrow creation 2025-09-14 14:05:55 +02:00
Christopher Tangonan
1161f1b8ba fix: eraser can handle dots without regressing prior performance improvements (#9946)
Co-authored-by: Márk Tolmács <mark@lazycat.hu>
2025-09-14 11:33:43 +00:00