Commit Graph

3833 Commits

Author SHA1 Message Date
Ryan Di
ec246f90c5 prevent element jumping during lasso selection 2025-08-01 20:19:17 +10:00
Ryan Di
c715fe4680 prevent potential displacement issue 2025-08-01 16:45:04 +10:00
Ryan Di
96c5de385b fix context menu not opening 2025-08-01 15:52:35 +10:00
Ryan Di
a7c76b9c2d fix snapshots 2025-07-28 19:06:54 +10:00
Ryan Di
19048ca999 fix tests 2025-07-28 18:59:28 +10:00
Ryan Di
b562121a98 merge 2025-07-28 18:07:23 +10:00
Ryan Di
2b8bff0247 show welcome screen when using default selection tool 2025-07-28 18:02:36 +10:00
Omar Brikaa
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
Márk Tolmács
d6a934ed19 chore: Remove editingLinearElement (#9771)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-07-24 17:02:21 +02:00
Omar Brikaa
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
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
Ryan Di
7f0b97a163 fix tests 2025-07-23 19:09:12 +10:00
Ryan Di
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
Ryan Di
358f687b4f lint 2025-07-23 18:42:28 +10:00
Ryan Di
4053ced148 switch to default selection tool after pasting 2025-07-23 18:39:46 +10:00
Ryan Di
691ece340f paste to center on touch screen 2025-07-23 18:15:35 +10:00
Ryan Di
1489b6a740 set to default selection tool after unlocking tool 2025-07-23 18:10:50 +10:00
Ryan Di
2132c9ac44 double click to add text when using default selection tool 2025-07-23 17:58:01 +10:00
Ryan Di
285134405b return to default selection tool after creation 2025-07-23 17:55:08 +10:00
Ryan Di
5c449839ba toggle between laser and default selection 2025-07-23 17:46:14 +10:00
Ryan Di
edc894fd04 finalize to default selection tool 2025-07-23 17:43:39 +10:00
Ryan Di
4e20c8d722 if default lasso, close lasso toggle 2025-07-23 17:31:07 +10:00
Ryan Di
0118f9b1b0 return to default tool after eraser toggle 2025-07-23 17:30:08 +10:00
Ryan Di
385cb347bb reset to default tool after clearing out the canvas 2025-07-23 17:27:36 +10:00
Ryan Di
c182115c92 return to default selection tool after deletion 2025-07-23 17:09:33 +10:00
Ryan Di
d29c8e7d32 render according to default selection tool 2025-07-23 17:00:38 +10:00
Ryan Di
19d434c366 add default selection tool 2025-07-23 17:00:08 +10:00
Ryan Di
9eaf4385c5 add mobile lasso icon 2025-07-21 18:05:31 +10:00
dwelle
69676fb325 improve mobile dection 2025-07-18 12:23:18 +02:00
Ryan Di
9b644169ae alternative: drag after selection on PCs 2025-07-18 10:22:41 +10:00
Christopher Tangonan
8492b144b0 test: added test file for distribute (#9754) 2025-07-17 19:52:16 +02:00
Marcel Mraz
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
Ryan Di
85dc55c718 alternatvie: keep lasso drag to only mobile 2025-07-17 17:29:32 +10:00
David Luzar
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
0cfa53b764 fix: aligning and distributing elements and nested groups while editing a group (#9721) 2025-07-15 12:43:42 +02:00
Ryan Di
a1b95c47a7 test: snapshots 2025-07-14 20:56:12 +10:00
Ryan Di
f1c9dc08ce fix: alt+cmd getting stuck 2025-07-14 20:34:32 +10:00
Ryan Di
b7762e5a92 fix: lasso dragging should snap too 2025-07-14 18:58:29 +10:00
Ryan Di
993eaa361b alternative ux: drag with lasso right away 2025-07-14 18:54:54 +10:00
David Luzar
cde46793f8 feat: support timestamps for youtube video emebds (#9737) 2025-07-13 19:19:10 +02:00
Ryan Di
5337480583 feat: drag, resize, and rotate after selecting in lasso 2025-07-11 14:17:28 +10:00
Aakansha Doshi
2d127f8c22 docs: fix broken update scene button example in docs (#9726)
fix: update scene example in docs
2025-07-08 19:29:44 +05:30
Soham Kulkarni
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
258605d1d5 chore: release multiple packages (#9698) 2025-06-30 12:19:15 +02:00
Márk Tolmács
c141500400 chore: Relocate visualdebug so ESLint doesn't complain (#9668) 2025-06-18 14:45:51 +02:00
Márk Tolmács
8e27de2cdc fix: Frame dimensions change by stats don't include new elements (#9568) 2025-06-16 14:07:03 +02:00
Márk Tolmács
0a19c93509 fix: Bindings at partially overlapping binding areas (#9536) 2025-06-16 12:30:59 +02:00
Márk Tolmács
958597dfaa chore: Refactor doBoundsIntersect (#9657) 2025-06-16 12:30:42 +02:00
Marcel Mraz
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
Spawn
3f194918e6 feat: add mulitplatform Docker image support (#9594) 2025-06-15 20:11:37 +02:00