From cdcae36b58b91aed17dc7f7f86afb4efea83e176 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 28 Jan 2020 17:05:50 +0100 Subject: [PATCH] :bug: Add missing canvas impl for some geom operations. --- frontend/src/uxbox/main/geom.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/uxbox/main/geom.cljs b/frontend/src/uxbox/main/geom.cljs index 99f213c1d..2d54482b8 100644 --- a/frontend/src/uxbox/main/geom.cljs +++ b/frontend/src/uxbox/main/geom.cljs @@ -24,6 +24,7 @@ :icon (move-rect shape dpoint) :image (move-rect shape dpoint) :rect (move-rect shape dpoint) + :canvas (move-rect shape dpoint) :text (move-rect shape dpoint) :curve (move-path shape dpoint) :path (move-path shape dpoint) @@ -65,6 +66,7 @@ [shape position] (case (:type shape) :icon (absolute-move-rect shape position) + :canvas (absolute-move-rect shape position) :image (absolute-move-rect shape position) :rect (absolute-move-rect shape position) :circle (absolute-move-circle shape position)))