Ryan Di
82b92da130
lint
2024-04-19 22:42:57 +08:00
Ryan Di
695af75eef
make small multiple elements movable
2024-04-19 22:39:39 +08:00
Ryan Di
c8e34d4e5b
reduce hit threshold
2024-04-19 20:29:45 +08:00
Ryan Di
c9cec2f559
always resize from the sides
2024-04-19 20:05:47 +08:00
Ryan Di
b7c74777e3
allow free resizing for multiple elements at degree 0
2024-04-19 16:21:09 +08:00
Ryan Di
e4db91d786
lint
2024-04-18 22:51:39 +08:00
Ryan Di
61cfa4c634
prioritize point dragging over edge resizing
2024-04-18 22:44:45 +08:00
Ryan Di
8db67ead97
do not resize for linear elements with only two points
2024-04-18 21:44:56 +08:00
Ryan Di
f6b253dc0e
merge with master
2024-04-18 18:26:18 +08:00
Ryan Di
f57bde0fde
adaptive handles
2024-04-18 17:15:18 +08:00
Marcel Mraz and GitHub
530617be90
feat: multiplayer undo / redo ( #7348 )
2024-04-17 14:01:24 +02:00
David Luzar and GitHub
5211b003b8
fix: double text rendering on edit ( #7904 )
2024-04-17 13:48:04 +02:00
Ryan Di and GitHub
bbcca06b94
fix: collision regressions from vector geometry rewrite ( #7902 )
2024-04-17 13:31:12 +02:00
Ryan Di
c453fa34f2
code cleanup
2024-04-17 10:41:45 +08:00
Ryan Di
f8a9c51c26
increase side resizing padding
2024-04-17 10:39:14 +08:00
Ryan Di
7b52b9dc56
always resize proportionally for multiple elements
2024-04-16 20:03:59 +08:00
johnd99 and GitHub
f92f04c13c
fix: Correct unit from 'eg' to 'deg' ( #7891 )
2024-04-15 11:11:27 +02:00
David Luzar and GitHub
890ed9f31f
feat: add "toggle grid" to command palette ( #7887 )
2024-04-13 19:12:29 +02:00
David Luzar and GitHub
da2e507298
fix: allow same origin for all necessary domains ( #7889 )
2024-04-13 18:51:30 +02:00
David Luzar and GitHub
f59b4f6af4
fix: always make sure we render bound text above containers ( #7880 )
2024-04-12 21:50:02 +02:00
David Luzar and GitHub
afcde542f9
fix: parse embeddable srcdoc urls strictly ( #7884 )
2024-04-12 20:51:17 +02:00
Ryan Di and GitHub
4689a6b300
fix: hit test for closed sharp curves ( #7881 )
2024-04-12 12:58:51 +02:00
David Luzar and GitHub
0ae9b383d6
fix: Gist embed allowing unsafe html ( #7883 )
2024-04-12 12:57:43 +02:00
David Luzar and GitHub
f597bd3e01
fix: command palette tweaks and fixes ( #7876 )
2024-04-11 11:39:19 +02:00
Ryan Di
137dff16d9
lint
2024-04-11 12:11:33 +08:00
Ryan Di
8658c824e8
maintain aspect ratio when elements are not of the same angle
2024-04-11 12:07:23 +08:00
Ryan Di
0d5709ca17
fix lint
2024-04-10 20:21:36 +08:00
Ryan Di
2b82f101f1
Merge branch 'master' into resize-from-sides
2024-04-10 19:17:39 +08:00
Ryan Di
d5489b1e98
enable resizing from the sides for multiple elements as well
2024-04-10 19:03:03 +08:00
Ryan Di and GitHub
4987cc53d0
fix: include borders when testing insides of a shape ( #7865 )
2024-04-09 16:07:36 +02:00
Rinku Chaudhari and GitHub
d917db438e
fix: external link not opening ( #7859 )
2024-04-09 16:06:49 +02:00
Aakansha Doshi and GitHub
a33a400f01
fix: add safe check for arrow points length in tranformToExcalidrawElements ( #7863 )
...
* fix: add safe check for arrow points length in tranformToExcalidrawElements
* add spec
* throw error only for dev mode
* fix lint
2024-04-09 09:56:21 +05:30
David Luzar and GitHub
8a162a4cb4
fix: import ( #7869 )
2024-04-08 16:59:03 +02:00
David Luzar and GitHub
c6a045d092
fix: theme toggle shortcut event.code ( #7868 )
2024-04-08 16:55:33 +02:00
cd50aa719f
feat: add system mode to the theme selector ( #7853 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-04-08 16:46:24 +02:00
David Luzar and GitHub
92bc08207c
fix: remove incorrect check from index.html ( #7867 )
2024-04-08 16:42:00 +02:00
Ryan Di
db0e4b260f
upgrade types
2024-04-08 14:04:37 +08:00
Ryan Di
ebf3681812
omit side handles for frames too
2024-04-06 13:14:39 +08:00
Ryan Di
f045f46bf6
do not resize texts from the sides (for we want to wrap/unwrap)
2024-04-06 13:12:01 +08:00
Ryan Di
0ae6a3aa38
fix lint
2024-04-05 17:53:11 +08:00
Ryan Di
05a70d6cbf
merge with master
2024-04-05 17:47:18 +08:00
Ryan Di
800f43c335
resize single elements from the side
2024-04-05 16:53:54 +08:00
32df5502ae
feat: fractional indexing ( #7359 )
...
* Introducing fractional indices as part of `element.index`
* Ensuring invalid fractional indices are always synchronized with the array order
* Simplifying reconciliation based on the fractional indices
* Moving reconciliation inside the `@excalidraw/excalidraw` package
---------
Co-authored-by: Marcel Mraz <marcel@excalidraw.com >
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-04-04 13:51:11 +01:00
bbdcd30a73
refactor: update collision from ga to vector geometry ( #7636 )
...
* new collision api
* isPointOnShape
* removed redundant code
* new collision methods in app
* curve shape takes starting point
* clean up geometry
* curve rotation
* freedraw
* inside curve
* improve ellipse inside check
* ellipse distance func
* curve inside
* include frame name bounds
* replace previous private methods for getting elements at x,y
* arrow bound text hit detection
* keep iframes on top
* remove dependence on old collision methods from app
* remove old collision functions
* move some hit functions outside of app
* code refactor
* type
* text collision from inside
* fix context menu test
* highest z-index collision
* fix 1px away binding test
* strictly less
* remove unused imports
* lint
* 'ignore' resize flipping test
* more lint fix
* skip 'flips while resizing' test
* more test
* fix merge errors
* fix selection in resize test
* added a bit more comment
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-04-04 16:31:23 +08:00
David Luzar and GitHub
3e334a67ed
feat: show firefox-compatible command palette shortcut alias ( #7825 )
2024-03-28 18:12:54 +01:00
David Luzar and GitHub
1d71f84515
fix: stop using lookbehind for backwards compat ( #7824 )
2024-03-28 17:32:38 +01:00
550a388b2b
feat: command palette ( #7804 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-03-28 16:16:32 +00:00
David Luzar and GitHub
6b523563d8
fix: ejs support in html files ( #7822 )
2024-03-28 14:58:47 +01:00
David Luzar and GitHub
65bc500598
fix: excalidrawAPI.toggleSidebar not switching between tabs correctly ( #7821 )
2024-03-28 14:52:23 +01:00
Aakansha Doshi and GitHub
7949aa1f1c
feat: upgrade mermaid-to-excalidraw to 0.3.0 ( #7819 )
2024-03-28 16:44:29 +05:30