Allow canvas movement and resize.

This commit is contained in:
Andrey Antukh 2019-08-24 16:01:17 +02:00
parent 902f7c4181
commit daac4486e5
7 changed files with 16 additions and 73 deletions

View file

@ -512,6 +512,7 @@
"Apply the matrix transformation to shape."
[{:keys [type] :as shape} xfmt]
(case type
:canvas (transform-rect shape xfmt)
:rect (transform-rect shape xfmt)
:icon (transform-rect shape xfmt)
:text (transform-rect shape xfmt)