Add control over gradient stops (#834)

* Add gradient stops

* Better step adding

* Steps can be dragged past each other

* Swapping and switching gradient/fill

* Fix convert to gradient

* Skip non finite transforms for overlays

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0HyperCube
2022-11-05 13:30:48 +00:00
committed by Keavon Chambers
parent a1e061fa14
commit 1462d2b662
5 changed files with 291 additions and 80 deletions

View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
<rect width="8" height="2" x="2" y="5" />
<rect width="2" height="8" x="5" y="2" />
</svg>

After

Width:  |  Height:  |  Size: 154 B

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
<rect width="8" height="2" x="2" y="5" />
</svg>

After

Width:  |  Height:  |  Size: 111 B