Commit Graph

5945 Commits

Author SHA1 Message Date
Excalidraw Bot
20c664d9aa New translations en.json (Lithuanian) 2024-05-15 15:09:57 +02:00
Excalidraw Bot
861e9fae97 New translations en.json (Kurdish) 2024-05-15 15:09:56 +02:00
Excalidraw Bot
d86b27e4cd New translations en.json (Korean) 2024-05-15 15:09:55 +02:00
Excalidraw Bot
75f127506e New translations en.json (Japanese) 2024-05-15 15:09:54 +02:00
Excalidraw Bot
4616455ce6 New translations en.json (Italian) 2024-05-15 15:09:53 +02:00
Excalidraw Bot
255e639ea5 New translations en.json (Hungarian) 2024-05-15 15:09:51 +02:00
Excalidraw Bot
1cb1325ee6 New translations en.json (Finnish) 2024-05-15 15:09:50 +02:00
Excalidraw Bot
ebe229c8ed New translations en.json (Basque) 2024-05-15 15:09:49 +02:00
Excalidraw Bot
63f972a889 New translations en.json (Greek) 2024-05-15 15:09:48 +02:00
Excalidraw Bot
e8e03145a3 New translations en.json (German) 2024-05-15 15:09:47 +02:00
Excalidraw Bot
d2db5fb4ed New translations en.json (Danish) 2024-05-15 15:09:46 +02:00
Excalidraw Bot
b9627e639e New translations en.json (Czech) 2024-05-15 15:09:45 +02:00
Excalidraw Bot
9f9678337e New translations en.json (Catalan) 2024-05-15 15:09:44 +02:00
Excalidraw Bot
ba5dc117a4 New translations en.json (Bulgarian) 2024-05-15 15:09:43 +02:00
Excalidraw Bot
a587e9ab58 New translations en.json (Arabic) 2024-05-15 15:09:42 +02:00
Excalidraw Bot
f93f3732f3 New translations en.json (Spanish) 2024-05-15 15:09:40 +02:00
Excalidraw Bot
128bc579ce New translations en.json (French) 2024-05-15 15:09:39 +02:00
Excalidraw Bot
0dd000ce7e New translations en.json (Romanian) 2024-05-15 15:09:38 +02:00
Excalidraw Bot
926d9e6884 New translations en.json (Hebrew) 2024-05-15 15:09:37 +02:00
Ryan Di
971b4d4ae6 feat: text wrapping (#7999)
* resize single elements from the side

* fix lint

* do not resize texts from the sides (for we want to wrap/unwrap)

* omit side handles for frames too

* upgrade types

* enable resizing from the sides for multiple elements as well

* fix lint

* maintain aspect ratio when elements are not of the same angle

* lint

* always resize proportionally for multiple elements

* increase side resizing padding

* code cleanup

* adaptive handles

* do not resize for linear elements with only two points

* prioritize point dragging over edge resizing

* lint

* allow free resizing for multiple elements at degree 0

* always resize from the sides

* reduce hit threshold

* make small multiple elements movable

* lint

* show side handles on touch screen and mobile devices

* differentiate touchscreens

* keep proportional with text in multi-element resizing

* update snapshot

* update multi elements resizing logic

* lint

* reduce side resizing padding

* bound texts do not scale in normal cases

* lint

* test sides for texts

* wrap text

* do not update text size when changing its alignment

* keep text wrapped/unwrapped when editing

* change wrapped size to auto size from context menu

* fix test

* lint

* increase min width for wrapped texts

* wrap wrapped text in container

* unwrap when binding text to container

* rename `wrapped` to `autoResize`

* fix lint

* revert: use `center` align when wrapping text in container

* update snaps

* fix lint

* simplify logic on autoResize

* lint and test

* snapshots

* remove unnecessary code

* snapshots

* fix: defaults not set correctly

* tests for wrapping texts when resized

* tests for text wrapping when edited

* fix autoResize refactor

* include autoResize flag check

* refactor

* feat: rename action label & change contextmenu position

* fix: update version on `autoResize` action

* fix infinite loop when editing text in a container

* simplify

* always maintain `width` if `!autoResize`

* maintain `x` if `!autoResize`

* maintain `y` pos after fontSize change if `!autoResize`

* refactor

* when editing, do not wrap text in textWysiwyg

* simplify text editor

* make test more readable

* comment

* rename action to match file name

* revert function signature change

* only update  in app

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-05-15 21:04:53 +08:00
David Luzar
cc4c51996c build: specify packageManager field (#8010) 2024-05-14 10:45:27 +02:00
Guillaume Grossetie
79257a1923 fix: correctly resolve the package version (#8016)
The property name is `VITE_PKG_VERSION` (not `PKG_VERSION`)

Resolves #7984
2024-05-14 13:31:02 +05:30
Marcel Mraz
dc66261c19 fix: re-introduce wysiwyg width offset (#8014) 2024-05-13 17:38:21 +02:00
Excalidraw Bot
04c46eb668 Auto commit: Calculate translation coverage 2024-05-13 06:43:28 +00:00
Excalidraw Bot
7e09d00d62 New translations en.json (Swedish) 2024-05-13 08:43:12 +02:00
Excalidraw Bot
7ef2a08dff Auto commit: Calculate translation coverage 2024-05-10 14:59:37 +00:00
Excalidraw Bot
ca6d0bb98a New translations en.json (Spanish) 2024-05-10 16:59:25 +02:00
David Luzar
273ba803d9 fix: font not rendered correctly on init (#8002) 2024-05-10 16:37:46 +02:00
Excalidraw Bot
b70393f947 Auto commit: Calculate translation coverage 2024-05-10 10:46:37 +00:00
Excalidraw Bot
df78472681 New translations en.json (French) 2024-05-10 12:46:26 +02:00
Excalidraw Bot
22d201d2c3 New translations en.json (Romanian) 2024-05-10 12:46:25 +02:00
Excalidraw Bot
3263596166 Auto commit: Calculate translation coverage 2024-05-10 09:07:24 +00:00
Excalidraw Bot
43302acd47 New translations en.json (French) 2024-05-10 11:07:14 +02:00
Excalidraw Bot
c92fb897b0 Auto commit: Calculate translation coverage 2024-05-09 21:37:35 +00:00
Excalidraw Bot
969cdb6fa5 New translations en.json (Portuguese) 2024-05-09 23:37:22 +02:00
Excalidraw Bot
b7c273dad3 New translations en.json (Italian) 2024-05-09 19:35:41 +02:00
Excalidraw Bot
6c392443fc New translations en.json (Chinese Traditional) 2024-05-09 16:06:43 +02:00
Excalidraw Bot
71800f2bdf Auto commit: Calculate translation coverage 2024-05-09 09:15:50 +00:00
Excalidraw Bot
81718fb708 New translations en.json (Chinese Simplified) 2024-05-09 11:15:37 +02:00
Excalidraw Bot
6420601d00 New translations en.json (Russian) 2024-05-09 11:15:36 +02:00
Excalidraw Bot
1ba7399adc New translations en.json (Polish) 2024-05-09 11:15:35 +02:00
Excalidraw Bot
2eacd8be18 New translations en.json (German) 2024-05-09 11:15:34 +02:00
Excalidraw Bot
f9055ae50e Auto commit: Calculate translation coverage 2024-05-09 07:35:38 +00:00
Excalidraw Bot
26718821c0 New translations en.json (Polish) 2024-05-09 09:35:22 +02:00
Excalidraw Bot
0339872a2c Auto commit: Calculate translation coverage 2024-05-09 06:31:00 +00:00
Excalidraw Bot
86758895fa New translations en.json (Slovenian) 2024-05-09 08:30:42 +02:00
Excalidraw Bot
6390aef437 Auto commit: Calculate translation coverage 2024-05-08 20:51:00 +00:00
Excalidraw Bot
f782ee3f0e New translations en.json (Karakalpak) 2024-05-08 22:46:17 +02:00
Excalidraw Bot
971b46bb0d New translations en.json (Kabyle) 2024-05-08 22:46:16 +02:00
Excalidraw Bot
cdda24b859 New translations en.json (Bengali, India) 2024-05-08 22:46:15 +02:00