From 3dd741129c4b19cf540e0598f6c86a8c259f4575 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 9 Apr 2016 23:14:38 +0300 Subject: [PATCH] Improve move-shape event constructor docstring. --- src/uxbox/data/shapes.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uxbox/data/shapes.cljs b/src/uxbox/data/shapes.cljs index 474a078b76..7934dda3aa 100644 --- a/src/uxbox/data/shapes.cljs +++ b/src/uxbox/data/shapes.cljs @@ -103,9 +103,8 @@ (update-in state [:shapes-by-id id] merge shape)))) (defn move-shape - "Mark a shape selected for drawing in the canvas." + "Move shape using relative position (delta)." [sid delta] - {:pre [(gpt/point? delta)]} (reify udp/IPageUpdate rs/UpdateEvent