From 5624882ce2f596c8cbdfcaffda1009c0ec495647 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 13 Apr 2016 20:15:07 +0300 Subject: [PATCH] Properly trigger page update on shape movement. --- src/uxbox/data/shapes.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uxbox/data/shapes.cljs b/src/uxbox/data/shapes.cljs index c7de4ab5e0..e36cf30023 100644 --- a/src/uxbox/data/shapes.cljs +++ b/src/uxbox/data/shapes.cljs @@ -43,6 +43,7 @@ "Just updates in place the shape." [{:keys [id] :as shape}] (reify + udp/IPageUpdate rs/UpdateEvent (-apply-update [_ state] (update-in state [:shapes-by-id id] merge shape))))