ae89608985
fix: bound text rotation across alignments ( #9914 )
...
Co-authored-by: A-Mundanilkunathil <aaronchackom2002@gmail.com >
2025-08-29 12:31:23 +02:00
Ryan Di and GitHub
3085f4af81
fix: tighten distance for double tap text creation ( #9889 )
2025-08-22 18:12:51 +02:00
531f3e5524
fix: restore from invalid fixedSegments & type-safer point updates ( #9899 )
...
* fix: restore from invalid fixedSegments & type-safer point updates
* fix: Type updates and throw for invalid point states
---------
Co-authored-by: Mark Tolmacs <mark@lazycat.hu >
2025-08-22 15:45:58 +00:00
David Luzar and GitHub
90ec2739ae
fix: calling toLowerCase on potentially undefined navigator.* values ( #9901 )
2025-08-22 17:37:16 +02:00
David Luzar and GitHub
f29e9df72d
chore: bump mermaid-to-excalidraw to 1.1.3 ( #9898 )
2025-08-21 20:58:04 +02:00
Marcel Mraz and GitHub
b5ad7ae4e3
fix: even deltas with version & version nonce are valid ( #9897 )
2025-08-21 16:09:19 +02:00
b4903a7eab
feat: drag, resize, and rotate after selecting in lasso ( #9732 )
...
* feat: drag, resize, and rotate after selecting in lasso
* alternative ux: drag with lasso right away
* fix: lasso dragging should snap too
* fix: alt+cmd getting stuck
* test: snapshots
* alternatvie: keep lasso drag to only mobile
* alternative: drag after selection on PCs
* improve mobile dection
* add mobile lasso icon
* add default selection tool
* render according to default selection tool
* return to default selection tool after deletion
* reset to default tool after clearing out the canvas
* return to default tool after eraser toggle
* if default lasso, close lasso toggle
* finalize to default selection tool
* toggle between laser and default selection
* return to default selection tool after creation
* double click to add text when using default selection tool
* set to default selection tool after unlocking tool
* paste to center on touch screen
* switch to default selection tool after pasting
* lint
* fix tests
* show welcome screen when using default selection tool
* fix tests
* fix snapshots
* fix context menu not opening
* prevent potential displacement issue
* prevent element jumping during lasso selection
* fix dragging on mobile
* use same selection icon
* fix alt+cmd lasso getting cut off
* fix: shortcut handling
* lint
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-08-20 00:03:02 +02:00
zsviczian and GitHub
c6f8ef9ad2
fix: Scene deleted after pica image resize failure ( #9879 )
...
Revert change in private updateImageCache
2025-08-18 11:45:05 +02:00
Marcel Mraz and GitHub
2535d73054
feat: apply deltas API ( #9869 )
2025-08-15 15:25:56 +02:00
David Luzar and GitHub
dda3affcb0
fix: do not strip invisible elements from array ( #9844 )
2025-08-12 11:56:11 +02:00
Marcel Mraz and GitHub
54c148f390
fix: text restore & deletion issues ( #9853 )
2025-08-12 09:27:04 +02:00
zsviczian and GitHub
cc8e490c75
fix: do not auto-add elements to locked frame ( #9851 )
...
* Do not return locked frames when filtering for top level frame
* lint
* lint
* lint
2025-08-11 11:52:44 +02:00
Marcel Mraz and GitHub
9036812b6d
fix: editing linear element ( #9839 )
2025-08-08 09:30:11 +02:00
Marcel Mraz and GitHub
df25de7e68
feat: fix delta apply to issues ( #9830 )
2025-08-07 15:38:58 +02:00
Ryan Di
60a459b135
refactor: remove points function from snapping and move to linear editor
2025-08-04 18:04:59 +10:00
Ryan Di
7332e76d56
refactor: simplify code
2025-08-04 13:46:33 +10:00
Ryan Di
dceaa53b0c
fix: do not snap to pointer when creating
2025-08-04 12:33:49 +10:00
Ryan Di
6e968324fb
fix snapshots
2025-08-04 12:09:06 +10:00
dwelle
09b18cacec
Merge branch 'master' into ryan-di/line-snapping
...
# Conflicts:
# packages/element/src/linearElementEditor.ts
# packages/element/src/snapping.ts
# packages/excalidraw/components/App.tsx
2025-07-31 22:42:52 +02:00
178eca5828
fix: add frame clipping to new element canvas ( #9794 )
...
* fix: add frame clipping to new element canvas
* cleanup save/restore
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-07-31 12:10:59 +00:00
Ryan Di and GitHub
cb33de25f4
feat: allow a frame to snap to its children ( #9795 )
2025-07-31 13:58:29 +02:00
Omar Brikaa and GitHub
37ad85cbaf
fix: Fix the root cause of flushSync flickering ( #9791 )
...
* More reliable width and height change detection
* Put the dimensions useEffect before the scene render one, just in case
2025-07-27 23:52:07 +02:00
d6a934ed19
chore: Remove editingLinearElement ( #9771 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-07-24 17:02:21 +02:00
416da62138
fix: multiple line editor bugs ( #9760 )
...
Co-authored-by: Mark Tolmacs <mark@lazycat.hu >
2025-07-24 09:11:04 +02:00
Omar Brikaa and GitHub
f38f381989
fix: Remove flushSync from alt-lasso and elbow dragging ( #9734 )
...
* Remove lasso flushSync
* Remove selectedLinearElement flushSync
* Early return
2025-07-23 23:39:16 +02:00
e5e07260c6
fix: improve line creation ux on touch screens ( #9740 )
...
* fix: awkward point adding and removing on touch device
* feat: move finalize to next to last point
* feat: on touch screen, click would create a default line/arrow
* fix: make default adaptive to zoom
* fix: increase padding to avoid cutoffs
* refactor: simplify
* fix: only use bigger padding when needed
* center arrow horizontally on pointer
* increase min drag distance before we start 2-point-arrow-drag-creating
* do not render 0-width arrow while creating
* dead code
* fix tests
* fix: remove redundant code
* do not enter line editor on creation
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-07-23 18:49:56 +10:00
Christopher Tangonan and GitHub
8492b144b0
test: added test file for distribute ( #9754 )
2025-07-17 19:52:16 +02:00
Marcel Mraz and GitHub
e46f038132
feat: expose applyTo options, don't commit empty text element ( #9744 )
...
* Expose applyTo options, skip re-draw for empty text
* Don't commit empty text elements
2025-07-17 15:22:32 +02:00
David Luzar and GitHub
678dff25ed
fix: ellipsify MainMenu and CommandPalette items ( #9743 )
...
* fix: ellipsify MainMenu and CommandPalette items
* fix lint
2025-07-15 12:59:55 +02:00
Christopher Tangonan and GitHub
0cfa53b764
fix: aligning and distributing elements and nested groups while editing a group ( #9721 )
2025-07-15 12:43:42 +02:00
David Luzar and GitHub
cde46793f8
feat: support timestamps for youtube video emebds ( #9737 )
2025-07-13 19:19:10 +02:00
4eadb891f8
fix(toast): prevent toast from re-rendering and resetting timeout Fixes #9714 ( #9715 )
...
* Update App.tsx
* fix: lint
---------
Co-authored-by: Ryan Di <ryan.weihao.di@gmail.com >
2025-07-03 17:07:26 +10:00
Marcel Mraz and GitHub
258605d1d5
chore: release multiple packages ( #9698 )
2025-06-30 12:19:15 +02:00
Ryan Di
0e197ef5c4
fix: do not snap to each other when moving multiple points together
2025-06-26 17:22:42 +10:00
Ryan Di
a0f7edadec
test: update snapshots
2025-06-24 21:02:48 +10:00
Ryan Di
58c9bb4712
merge: with master
2025-06-24 21:00:06 +10:00
Ryan Di
d1c6304d42
test: update snapshots
2025-06-24 20:41:27 +10:00
Ryan Di
c1a54455bb
feat: add snapping on top of angle locking when both enabled
2025-06-24 18:37:07 +10:00
Márk Tolmács and GitHub
c141500400
chore: Relocate visualdebug so ESLint doesn't complain ( #9668 )
2025-06-18 14:45:51 +02:00
Márk Tolmács and GitHub
8e27de2cdc
fix: Frame dimensions change by stats don't include new elements ( #9568 )
2025-06-16 14:07:03 +02:00
Ryan Di
07640dd756
feat: extend line snapping to creation
2025-06-16 20:55:27 +10:00
Márk Tolmács and GitHub
0a19c93509
fix: Bindings at partially overlapping binding areas ( #9536 )
2025-06-16 12:30:59 +02:00
Márk Tolmács and GitHub
958597dfaa
chore: Refactor doBoundsIntersect ( #9657 )
2025-06-16 12:30:42 +02:00
058918f8e5
feat: capture images after they initialize ( #9643 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-06-15 23:43:14 +02:00
Ryan Di and GitHub
93c92d13e9
feat: wrap texts from stats panel ( #9552 )
2025-06-14 13:05:24 +02:00
84e96e9393
fix: move doBoundsIntersect from element/src/bounds.ts to common/math/src/utils.ts ( #9650 )
...
move doBoundsIntersect to math/utils
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-06-14 11:01:30 +00:00
zsviczian and GitHub
320af405e9
fix: move elementCenterPoint from common/src/utils.ts to element/src/bounds.ts ( #9647 )
...
move elementCenterPoint from utils to bounds.ts
2025-06-14 12:49:22 +02:00
Marcel Mraz
60512f13d5
Fix broken history when eleemnt in update scene are optional
2025-06-14 12:29:58 +02:00
Ryan Di
5403fa8a0d
feat: line snapping
2025-06-13 17:50:06 +10:00
Márk Tolmács and GitHub
f0458cc216
fix: Mid-point for rounded linears are not precisely centered ( #9544 )
2025-06-12 21:08:37 +02:00