3252 Commits

Author SHA1 Message Date
Preet
c552ff4554 added an explanatory comment 2023-10-23 21:48:35 -07:00
Preet
26f9b54199 compute midpoints properly when dealing with split line indices 2023-10-23 21:41:00 -07:00
Preet
7f5b7bab69 split linear segments as curves 2023-10-23 21:29:53 -07:00
Preet
bf7c91536f render and toggle split points for linear elements as well 2023-10-23 21:15:25 -07:00
Preet
4372e992e0 highlight squares appropriately 2023-10-23 18:13:43 -07:00
Preet
1e4bfceb13 render split points as squares 2023-10-23 17:58:28 -07:00
Preet
539071fcfe ensure split indices are sorted 2023-10-23 17:29:12 -07:00
Preet
3700cf2d10 fix some linting/prettier issues 2023-10-23 10:50:52 -07:00
Preet
89218ba596 update indices when inserting/removing points 2023-10-22 17:39:51 -07:00
Preet
bc5436592e split curve only for rounded curves 2023-10-22 17:07:08 -07:00
Preet
750055ddfa draw split curves 2023-10-21 21:45:27 -07:00
Preet
93e4cb8d25 restore properly 2023-10-21 17:24:01 -07:00
Preet
a2dd3c6ea2 visual indicator that curve is being split 2023-10-21 16:57:56 -07:00
Preet
0360e64219 . 2023-10-21 16:41:32 -07:00
Preet
c2867c9a93 defined split array 2023-10-21 16:15:41 -07:00
Preet
14bca119f7 update rough to include hetrogeneous curves 2023-10-21 16:04:06 -07:00
David Luzar
afea0df141
feat: renderer tweaks (#6698) 2023-10-20 17:45:37 +02:00
Preet
d2a508104e
fix: Better fill rendering with latest RoughJS (#7031)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-20 15:08:24 +02:00
David Luzar
3697618266
feat: support props.locked for setActiveTool (#7153)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-10-20 13:16:23 +02:00
David Luzar
e7cc2337ea
feat: add onChange, onPointerDown, onPointerUp api subs (#7154) 2023-10-20 13:08:22 +02:00
dependabot[bot]
9eb89f9960
build(deps): bump @babel/traverse from 7.18.9 to 7.23.2 in /dev-docs (#7165)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 11:31:27 +02:00
Excalidraw Bot
ab1bcc7615
chore: Update translations from Crowdin (#6695) 2023-10-20 11:29:28 +02:00
Vaibhav Shukla
b1cac35269
feat: Closing of "Save to.." Dialog on Save To Disk (#7168)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-19 17:51:50 +00:00
Vaibhav Shukla
83f86e2b86
fix: Fix for Strange Symbol Appearing on Canvas after Deleting Grouped Graphics (Issue #7116) (#7170)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-19 12:59:39 +02:00
dependabot[bot]
7e38cab76e
build(deps): bump @babel/traverse from 7.21.4 to 7.23.2 (#7171)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 12:33:16 +02:00
David Luzar
2cabb1f1f4
fix: attempt to fix flake in wysiwyg tests (#7173) 2023-10-19 12:32:31 +02:00
Lakshya Satpal
63650f82d1
feat: Added Copy/Paste from Google Docs (#7136)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-19 12:14:23 +02:00
David Luzar
dde3dac931
feat: remove bound-arrows from frames (#7157) 2023-10-17 18:18:20 +02:00
David Luzar
5b94cffc74
fix: ensure ClipboardItem created in the same tick to fix safari (#7066) 2023-10-16 11:38:57 +02:00
David Luzar
aaf73c8ff3
fix: double image dialog shown on insert (#7152) 2023-10-16 00:19:46 +02:00
mazijian-pp
44d9d5fcac
fix: wysiwyg left in undefined state on reload (#7123) 2023-10-13 14:29:54 +02:00
Alex Kim
89a3bbddb7
test: add more resizing tests (#7028)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-12 20:59:02 +02:00
David Luzar
b86184a849
fix: ensure relative z-index of elements added to frame is retained (#7134) 2023-10-12 15:00:23 +02:00
Barnabás Molnár
b552166924
feat: new dark mode theme & light theme tweaks (#7104)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-12 14:58:33 +02:00
David Luzar
26ff3993bb
feat: better laser cursor for dark mode (#7132) 2023-10-11 11:17:27 +02:00
David Luzar
7ad02c359a
fix: memoize static canvas on props.renderConfig (#7131) 2023-10-10 23:31:23 +02:00
David Luzar
2523fe82e3
feat: laser pointer improvements (#7128) 2023-10-10 13:55:55 +02:00
zsviczian
4ea079eb85
fix: regression from #6739 preventing redirect link in view mode (#7120)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-09 12:26:49 +02:00
Ryan Di
f20ba90ffa
perf: improve element in frame check (#7124) 2023-10-09 16:32:27 +08:00
Emmanuel Ferdman
03da9112cf
fix: update links to excalidraw-app (#7072) 2023-10-08 19:37:17 -05:00
David Luzar
a249f332a2
fix: ensure we do not stop laser update prematurely (#7100) 2023-10-06 12:00:35 +02:00
Are
2e61926a6b
feat: initial Laser Pointer MVP (#6739)
* feat: initial Laser pointer mvp

* feat: add laser-pointer package and integrate it with collab

* chore: fix yarn.lock

* feat: update laser-pointer package, prevent panning from showing

* feat: add laser pointer tool button when collaborating, migrate to official package

* feat: reduce laser tool button size

* update icon

* fix icon & rotate

* fix: lock zoom level

* fix icon

* add `selected` state, simplify and reduce api

* set up pointer callbacks in viewMode if laser tool active

* highlight extra-tools button if one of the nested tools active

* add shortcut to laser pointer

* feat: don't update paths if nothing changed

* ensure we reset flag if no rAF scheduled

* move `lastUpdate` to instance to optimize

* return early

* factor out into constants and add doc

* skip iteration instead of exit

* fix naming

* feat: remove testing variable on window

* destroy on editor unmount

* fix incorrectly resetting `lastUpdate` in `stop()`

---------

Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-05 17:05:16 +02:00
DanielJGeiger
e921bfb1ae
feat: Export iconFillColor() (#6996) 2023-10-04 18:17:22 -05:00
David Luzar
e6f74350ac
refactor: DRY out tool typing (#7086) 2023-10-04 23:39:00 +02:00
David Luzar
fa33aa08ab
refactor: refactor event globals to differentiate from lastPointerUp (#7084) 2023-10-04 16:18:22 +02:00
David Luzar
8b838049df
fix: remove invisible elements safely (#7083) 2023-10-04 16:09:59 +02:00
David Luzar
1f4f5e11ae
refactor: DRY out and simplify setting active tool from toolbar (#7079) 2023-10-04 00:16:54 +02:00
David Luzar
12420592ef
feat: support menu / dropdown items to have selected state (#7078) 2023-10-03 23:35:47 +02:00
DanielJGeiger
bfd318e765
docs: Update the excalidraw-app source-code link in README.md (#7035)
chore: Update the `excalidraw-app` source-code link in README.md
2023-10-03 08:41:13 -05:00
Thomas Steiner
6a821f3b76
fix: Icon size in manifest (#7073) 2023-10-03 11:07:02 +02:00