Ryan Di
4672bb948c
include arrowhead in detection (wip)
2025-01-10 19:23:08 +11:00
David Luzar
78ab12c7e6
fix: z-index clash in mobile UI ( #8985 )
2025-01-06 21:21:11 +01:00
Ryan Di
d33e42e3a1
feat: add crowfoot to arrowheads ( #8942 )
...
* crowfoot many
* crowfoot one
* one or many
* add icons for crowfoot
* add crowfoot icons
* adjust arrowhead selection popover
* make options collapsible
* swap triangle and bar
* switch to radix popover
* put triangle outline in the first row
* align shadow with new design spec
* remove unused flag
* swap order
* tweak labels
* handle shift+tab
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
Co-authored-by: Jakub Królak <108676707+j-krolak@users.noreply.github.com >
2025-01-05 21:50:24 +01:00
Ryan Di
107eae3916
refactor: separate resizing logic from pointer ( #8155 )
...
* separate resizing logic for a single element
* replace resize logic in stats
* do not recompute width and height from points when they're already given
* correctly update linear elements' position when resized
* update snapshots
* lint
* simplify linear resizing logic
* fix initial scale for aspect ratio
* update tests for linear elements
* test typo
* separate pointer from resizing for multiple elements
* lint and simplify
* fix tests
* lint
* provide scene in param instead
* type
* refactor code
* fix floating in tests
* remove restrictions/checks on width & height
* update pointer to dimension to prevent regression
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-12-23 11:10:35 +01:00
Ryan Di
1e3399eac8
fix: make arrow binding area adapt to zoom levels ( #8927 )
...
* make binding area adapt to zoom
* revert stroke color
* normalize binding gap
* reduce normalized gap
2024-12-22 22:55:50 +01:00
David Luzar
873698a1a2
fix: robust state.editingFrame teardown ( #8941 )
2024-12-22 22:47:39 +01:00
Ryan Di
606ac6c743
fix: regression on dragging a selected frame by its name ( #8924 )
...
fix hit element check for a selected frame's name
2024-12-22 22:47:21 +01:00
Ryan Di
d99e4a23ca
feat: use stats panel to crop ( #8848 )
...
* feat: use stats panel to crop
* fix: test flake
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-12-17 13:15:30 +01:00
Ryan Di
551bae07a7
feat: snap when cropping as well ( #8831 )
...
* crop with snap
* make crop snap work with cmd as well
* turn off grid with cmd as well in crop
2024-12-16 18:31:33 +08:00
Marcel Mraz
8a1152ce36
fix: Flush pending DOM updates before .focus() ( #8901 )
2024-12-09 21:57:37 +01:00
Ryan Di
b5652b8e36
fix: normalize svg using only absolute sizing ( #8854 )
2024-11-27 13:09:44 +01:00
David Luzar
31e2a0cb4a
fix: element link selector dialog z-index & positioning ( #8853 )
2024-11-26 23:18:20 +01:00
Ryan Di
c0b80a03bd
feat: in canvas links between shapes ( #8812 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-11-26 18:53:25 +01:00
Márk Tolmács
ab8b3537b3
fix: Optimize frameToHighlight state change and snapLines state change ( #8763 )
...
Fix case when frame interactions recursively call setState() without any change.
2024-11-21 15:19:00 +01:00
Márk Tolmács
d21e0008dd
fix: Make some events expllicitly active to avoid console warnings ( #8757 )
...
Avoid chrome/edge reporting of by-default blocking event handlers
2024-11-21 15:18:18 +01:00
Márk Tolmács
2db5bbcb29
fix: Unify binding update options for updateBoundElements() ( #8832 )
...
Fix insonsistent naming for option newSize/oldSize for updateBoundElements()
2024-11-20 11:46:45 +01:00
David Luzar
798f5f4dfb
feat: update blog url ( #8767 )
2024-11-06 16:41:41 +00:00
Marcel Mraz
2734e646ca
chore: simplify line-break regexes, separate text wrapping ( #8715 )
2024-10-30 14:24:12 +01:00
Marcel Mraz
03028eaa8c
fix: load font faces in Safari manually ( #8693 )
2024-10-30 12:40:24 +01:00
David Luzar
79b181bcdc
fix: restore svg image DataURL dimensions ( #8730 )
2024-10-29 22:40:24 +01:00
Ryan Di
e957c8e9ee
feat: image cropping ( #8613 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-10-21 22:26:52 +02:00
Marcel Mraz
61623bbeba
fix: Comic Shanns issues, new fonts structure ( #8641 )
2024-10-21 00:11:53 +02:00
David Luzar
15ca182333
fix: remove export-to-clip-as-svg shortcut for now ( #8660 )
2024-10-17 20:47:05 +02:00
Marcel Mraz
b479f3bd65
feat: add first-class support for CJK ( #8530 )
2024-10-17 20:14:17 +02:00
Mathis Beauville
21815fb930
fix: text disappearing on edit ( #8558 ) ( #8624 )
2024-10-17 13:11:48 +02:00
David Luzar
47ee8a0094
refactor: point() -> pointFrom() to fix compiler issue ( #8578 )
2024-10-01 21:27:17 +02:00
Márk Tolmács
f3f0ab7c83
fix: Elbow arrow fixedpoint flipping now properly flips on inverted resize and flip action ( #8324 )
...
* Flipping action now properly mirrors selections with elbow arrows
* Flipping action now re-centers the selection to the original center to avoid "walking" selections on repeated flipping
2024-09-19 08:47:23 +02:00
Márk Tolmács
e0a22edfbd
fix: Re-route elbow arrows when pasted ( #8448 )
...
Re-route elbow arrows when pasted
2024-09-17 12:20:40 +02:00
David Luzar
01e83cc9a5
fix: default sidebar triggers & behavior ( #8498 )
2024-09-11 20:19:14 +02:00
David Luzar
813f9b702e
feat: merge search sidebar back to default sidebar ( #8497 )
2024-09-11 19:26:01 +02:00
David Luzar
fd39712ba6
fix: improve canvas search scroll behavior further ( #8491 )
2024-09-11 18:01:18 +02:00
zsviczian
b46ca0192b
fix: addFiles clears the whole image cache when each file is added - regression from #8471 ( #8490 )
...
Update App.tsx
2024-09-11 07:57:41 +02:00
David Luzar
72b7c937b1
feat: smarter zooming when scrolling to match & only match on search/switch ( #8488 )
2024-09-10 21:26:01 +02:00
David Luzar
d107215564
fix: select instead of focus search input ( #8483 )
2024-09-09 19:57:22 +02:00
Ryan Di
6959a363f0
feat: canvas search ( #8438 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-09-09 17:12:07 +02:00
Abhishek Mehandiratta
5a11c70714
fix: image rendering issue when passed in initialData ( #8471 )
2024-09-08 23:56:00 +02:00
Márk Tolmács
f4dd23fc31
chore: Unify math types, utils and functions ( #8389 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-09-02 22:23:38 +00:00
zsviczian
b396e07b90
fix: PropertiesPopover maxWidth changing fixed units to relative units ( #8456 )
2024-09-01 18:18:37 +02:00
zsviczian
2d1d84a47b
fix: View mode wheel zooming does not work ( #8452 )
...
* Update App.tsx
* fix: prevent zooming browser over DOM
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-31 12:06:38 +02:00
Marcel Mraz
ee30225062
feat: subset font glyphs for SVG export ( #8384 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-30 22:26:06 +02:00
David Luzar
16cae4fc07
feat: reset copyStatus on export dialog settings change ( #8443 )
2024-08-29 15:10:08 +02:00
David Luzar
576bc0dbe5
feat: tweak copy button success animation ( #8441 )
2024-08-29 00:43:01 +02:00
David Luzar
00af35c692
feat: enable panning/zoom while in wysiwyg ( #8437 )
2024-08-29 00:42:46 +02:00
spc-28
26d2296578
fix: fixed copy to clipboard button ( #8426 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-27 00:27:44 +02:00
zsviczian
afb68a6467
feat: improve elbow arrow keyboard move ( #8392 )
2024-08-26 15:58:54 +02:00
zsviczian
b459e5cfd2
fix: context menu does not work after after dragging on StatsDragInput ( #8386 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-26 15:58:46 +02:00
Ryan Di
5e1ff7cafe
perf: improve new element drawing ( #8340 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-23 20:27:57 +02:00
David Luzar
b5d7f5b4ba
feat: rewrite d2c to not require token ( #8269 )
2024-08-20 18:06:22 +02:00
David Luzar
fb4bb29aa5
fix: object snapping not working ( #8381 )
2024-08-15 18:48:25 +02:00
David Luzar
3cfcc7b489
feat: split gridSize from enabled state & support custom gridStep ( #8364 )
2024-08-14 14:59:14 +02:00