dwelle
8cf726b8f9
simplify
2025-04-30 16:06:34 +02:00
dwelle
fa2713197a
throw in not-prod instead
2025-04-30 15:50:40 +02:00
dwelle
5f883e35cd
refactor
2025-04-30 15:50:14 +02:00
dwelle
e636f84bb6
file & variable renaming
2025-04-30 15:42:27 +02:00
dwelle
3dc24a9437
DRY out type detection
2025-04-30 14:11:12 +02:00
dwelle
0c02b8a446
move constant to CLASSES
2025-04-30 13:53:57 +02:00
dwelle
865328457f
fix popup component lifecycle
2025-04-30 13:50:46 +02:00
dwelle
86281329b5
Merge branch 'master' into ryan-di/shape-switch
2025-04-30 12:30:13 +02:00
Ryan Di
2b66da4305
can change linear when it's linear + non-generic
2025-04-30 20:22:43 +10:00
Ryan Di
721f5ec0f4
simpler types, tidy up code
2025-04-30 20:04:03 +10:00
Ryan Di
d890ed090c
unmount when not showing
2025-04-30 19:07:44 +10:00
dwelle
4630001dee
make it dependent on one signle state
2025-04-30 10:32:53 +02:00
dwelle
9ea9275fbd
add arrowBoundToElement check
2025-04-30 10:32:43 +02:00
dwelle
0d3e9cb1bc
remove Mutable
2025-04-30 09:19:56 +02:00
David Luzar
4a60fe3d22
fix: remove noreferrer
on internal links ( #9452 )
...
* fix: remove `noreferrer` on internal links
* fix snaps
* fix lint
2025-04-29 18:45:17 +02:00
Ryan Di
662baa3df2
set roudness to null to fix drag points offset for elbows
2025-04-25 21:44:58 +10:00
Ryan Di
989cef51cc
focus on panel after click
2025-04-25 21:18:16 +10:00
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
Narek Malkhasyan
2a0d15799c
fix: when dragging arrow endpoint, update binding only on the dragged side ( #9367 )
2025-04-25 10:46:58 +02: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
CharitSinghChauhan
a18b139a60
fix: laser pointer trail disappearing on pointerup ( #9413 ) ( #9427 )
...
* Fix laser pointer trail disappearing on pointerup (#9413 )
Previously, the laser pointer trail would disappear as soon as the pointerup event was triggered. This fix delays the trail removal to ensure it persists for a smoother visual experience.
Fixes #9413 .
* Remove extra blank lines
Minor formatting cleanup. No functional changes.
2025-04-24 10:05:08 +10:00
Ryan Di
c83cc025df
move logic from mutate to shape switch
2025-04-23 22:39:56 +10:00
Marcel Mraz
1913599594
refactor: remove dependency on the (static) Scene ( #9389 )
2025-04-23 13:45:08 +02:00
Ryan Di
e8e97adace
merge with master
2025-04-23 21:43:12 +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
6c2f3afa4e
add shape switch to command palette
2025-04-22 08:19:43 +10:00
Vedant Mishra
debf2ad608
docs: Fix missing verb in Footer component documentation ( #9393 )
2025-04-20 12:35:38 +02:00
David Luzar
8fb2f70414
fix: scrollbar rendering and improve dragging ( #9417 )
...
* fix: scrollbar rendering and improve dragging
* tweak offsets
2025-04-20 12:28:41 +02:00
Jack Walsh
5fc13e4309
feat: add props.renderScrollbars
( #9399 )
...
* Expose renderScrollbars to AppState
* fix: scrollbar rendering should use al renderable elements
* remove `appState.renderScrollbars`
* clean unused
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-04-19 21:50:44 +00:00
David Luzar
b5d60973b7
fix: duplication tests pointer state leaking between tests ( #9414 )
...
* fix: duplication tests pointer state leaking between tests
* fix snapshots
2025-04-18 11:11:12 +02:00
David Luzar
a5d6939826
fix: keep orig elem in place on alt-duplication ( #9403 )
...
* fix: keep orig elem in place on alt-duplication
* clarify comment
* fix: incorrect selection on duplicating labeled containers
* fix: duplicating within group outside frame should remove from group
2025-04-17 16:08:07 +02:00
David Luzar
0cf36d6b30
fix: erasing locked elements ( #9400 )
...
* fix: erasing locked elements
* signature tweaks
2025-04-16 10:28:56 +02:00
Ryan Di
8e9e0e2709
limit which linear elements can be switched
2025-04-16 18:04:16 +10:00
Ryan Di
58f7d33d80
perf: make eraser great again ( #9352 )
...
* perf: make eraser great again
* lint
* refactor and improve perf
* lint
2025-04-15 16:58:45 +02:00
Rubén Norte
6fe7de8020
fix: Add DOCTYPE and XML preamble in exported SVG documents ( #9386 )
...
Tests / test (push) Successful in 4m59s
* Add DOCTYPE and XML preamble in exported SVG documents
* Update packages/excalidraw/data/index.ts
---------
Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
2025-04-14 21:25:18 +02:00
Márk Tolmács
01304aac49
feat: Keep text label horizontal ( #9364 )
...
Tests / test (push) Successful in 5m5s
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-04-13 21:21:49 +02:00
jhanma17dev
dff69e9191
chore: Element center point util ( #9298 )
Tests / test (push) Successful in 5m4s
2025-04-09 17:04:51 +02:00
Ryan Di
6fc85022ae
fix: lasso selection issues ( #9353 )
...
Tests / test (push) Successful in 7m13s
Auto release excalidraw next / Auto-release-excalidraw-next (push) Failing after 1m45s
Build Docker image / build-docker (push) Failing after 6s
Cancel previous runs / cancel (push) Failing after 1s
Publish Docker / publish-docker (push) Failing after 20s
New Sentry production release / sentry (push) Failing after 2m5s
* revert stroke slicing hack for knot
* fix incorrect closing of path
* nonzero enclosure
* lint
2025-04-08 00:50:52 +10:00
Márk Tolmács
e48b63a0ae
fix: Rounded diamond edge elbow arrow U route ( #9349 )
Tests / test (push) Successful in 4m54s
Auto release excalidraw next / Auto-release-excalidraw-next (push) Successful in 2m15s
Build Docker image / build-docker (push) Failing after 8s
Cancel previous runs / cancel (push) Failing after 2s
Publish Docker / publish-docker (push) Failing after 27s
New Sentry production release / sentry (push) Failing after 2m58s
2025-04-07 10:43:07 +02:00
David Luzar
c2caf78e95
fix: deselected hit element being duplicated + incorrect re-seeding ( #9333 )
...
* fix: deselected hit element being duplicated + incorrect re-seeding
* snapshots
* Fix alt-drag binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* Add alt-drag bound arrow test
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
---------
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 10:41:31 +02:00