Commit Graph

145 Commits (3f00762a7730c6fdffa39f1fda42b8a809576aa0)

Author SHA1 Message Date
Ryan Di 3f00762a77 svg export 5 months ago
Ryan Di 7b012b1cad merge with master 5 months ago
Ryan Di 3a01122093 make cropping work with flipping 5 months ago
David Luzar 47ee8a0094
refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 5 months ago
Ryan Di bccd2bf30d simplify properties further 5 months ago
Ryan Di 9e80c9e3dd do not resize when in crop mode 5 months ago
Ryan Di 06a7a51baa simplify app and pointer down state 5 months ago
Ryan Di 064bede0c5 simplify crop properties 5 months ago
Ryan Di 997fec6c75 manipulate and update a crop 5 months ago
Ryan Di 71ed96eabb render crop 5 months ago
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
5 months ago
Márk Tolmács e0a22edfbd
fix: Re-route elbow arrows when pasted (#8448)
Re-route elbow arrows when pasted
5 months ago
David Luzar 01e83cc9a5
fix: default sidebar triggers & behavior (#8498) 6 months ago
David Luzar 813f9b702e
feat: merge search sidebar back to default sidebar (#8497) 6 months ago
David Luzar fd39712ba6
fix: improve canvas search scroll behavior further (#8491) 6 months ago
zsviczian b46ca0192b
fix: addFiles clears the whole image cache when each file is added - regression from #8471 (#8490)
Update App.tsx
6 months ago
David Luzar 72b7c937b1
feat: smarter zooming when scrolling to match & only match on search/switch (#8488) 6 months ago
David Luzar d107215564
fix: `select` instead of `focus` search input (#8483) 6 months ago
Ryan Di 6959a363f0
feat: canvas search (#8438)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
Ryan Di 3d92a3bf1f double click to start cropping 6 months ago
Abhishek Mehandiratta 5a11c70714
fix: image rendering issue when passed in `initialData` (#8471) 6 months ago
Márk Tolmács f4dd23fc31
chore: Unify math types, utils and functions (#8389)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
zsviczian b396e07b90
fix: PropertiesPopover maxWidth changing fixed units to relative units (#8456) 6 months ago
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>
6 months ago
Marcel Mraz ee30225062
feat: subset font glyphs for SVG export (#8384)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
David Luzar 16cae4fc07
feat: reset copyStatus on export dialog settings change (#8443) 6 months ago
David Luzar 576bc0dbe5
feat: tweak copy button success animation (#8441) 6 months ago
David Luzar 00af35c692
feat: enable panning/zoom while in wysiwyg (#8437) 6 months ago
spc-28 26d2296578
fix: fixed copy to clipboard button (#8426)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
zsviczian afb68a6467
feat: improve elbow arrow keyboard move (#8392) 6 months ago
zsviczian b459e5cfd2
fix: context menu does not work after after dragging on StatsDragInput (#8386)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
Ryan Di 5e1ff7cafe
perf: improve new element drawing (#8340)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
David Luzar b5d7f5b4ba
feat: rewrite d2c to not require token (#8269) 6 months ago
David Luzar fb4bb29aa5
fix: object snapping not working (#8381) 7 months ago
David Luzar 3cfcc7b489
feat: split `gridSize` from enabled state & support custom `gridStep` (#8364) 7 months ago
David Luzar 4320a3cf41
feat: improve zoom-to-content when creating flowchart (#8368) 7 months ago
David Luzar 97981804d7
feat: Stats popup style tweaks (#8361) 7 months ago
Clarence Chan f7b3befd0a
fix: text content with tab characters act different in view/edit (#8336)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
DDDDD12138 7b2bee9746
chore: remove unused parameter (#8355) 7 months ago
David Luzar 87a9430809
fix: disable flowchart keybindings inside inputs (#8353) 7 months ago
Ryan Di 54491d13d4
feat: create flowcharts from a generic element using elbow arrows (#8329)
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
Márk Tolmács dd1370381d
chore: Refactor and remove scene from elbow arrow generation (#8342)
* Refactor and remove scene from elbow arrow generation
7 months ago
Márk Tolmács 72d6ee48fc
fix: Do not allow resizing unbound elbow arrows either (#8333)
* Fix resizing of unbound elbow arrows
7 months ago
David Luzar f19ce30dfe
chore: bump `@testing-library/react` `12.1.5` -> `16.0.0` (#8322) 7 months ago
Ryan Di 3cf14c73a3
refactor: rename `draggingElement` -> `newElement` (#8294)
* add newElement to appState

* freedraw should not be an editing element

* do not set editing element for freedraw and generic

* remove ununsed `appState.draggingElement`

* remove setting dragged for new linear element

* decouple selection element from new element

* fix hint for text bindables

* update snapshot

* fixes

* fix frame regressions

* add comments to types

* document `editingElement`

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
Márk Tolmács 15e019706d
feat: Orthogonal (elbow) arrows for diagramming (#8299)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
David Luzar e844580b14
feat: remove automatic frame naming (#8302) 7 months ago
Marcel Mraz 5a0771ad9c
fix: load fonts for `exportToCanvas` (#8298) 7 months ago
Marcel Mraz 230d0edc44
feat: multiple fonts fallbacks (#8286) 7 months ago
Ryan Di 7b36de0476
fix: linear elements not selected on pointer up from hitting its bound text (#8285)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago