mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 03:13:40 +00:00
🐛 Add missing canvas impl for some geom operations.
This commit is contained in:
parent
a0df97a2e5
commit
cdcae36b58
@ -24,6 +24,7 @@
|
|||||||
:icon (move-rect shape dpoint)
|
:icon (move-rect shape dpoint)
|
||||||
:image (move-rect shape dpoint)
|
:image (move-rect shape dpoint)
|
||||||
:rect (move-rect shape dpoint)
|
:rect (move-rect shape dpoint)
|
||||||
|
:canvas (move-rect shape dpoint)
|
||||||
:text (move-rect shape dpoint)
|
:text (move-rect shape dpoint)
|
||||||
:curve (move-path shape dpoint)
|
:curve (move-path shape dpoint)
|
||||||
:path (move-path shape dpoint)
|
:path (move-path shape dpoint)
|
||||||
@ -65,6 +66,7 @@
|
|||||||
[shape position]
|
[shape position]
|
||||||
(case (:type shape)
|
(case (:type shape)
|
||||||
:icon (absolute-move-rect shape position)
|
:icon (absolute-move-rect shape position)
|
||||||
|
:canvas (absolute-move-rect shape position)
|
||||||
:image (absolute-move-rect shape position)
|
:image (absolute-move-rect shape position)
|
||||||
:rect (absolute-move-rect shape position)
|
:rect (absolute-move-rect shape position)
|
||||||
:circle (absolute-move-circle shape position)))
|
:circle (absolute-move-circle shape position)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user