diff --git a/frontend/src/uxbox/main/data/shapes.cljs b/frontend/src/uxbox/main/data/shapes.cljs index 2d8620a95..22dbe2f9a 100644 --- a/frontend/src/uxbox/main/data/shapes.cljs +++ b/frontend/src/uxbox/main/data/shapes.cljs @@ -28,7 +28,7 @@ ;; --- Specs -(s/def ::fill-color us/color?) +(s/def ::fill-color string?) (s/def ::fill-opacity number?) (s/def ::line-height number?) (s/def ::letter-spacing number?) @@ -39,7 +39,7 @@ (s/def ::font-size number?) (s/def ::stroke-style #{:none :solid :dotted :dashed :mixed}) (s/def ::stroke-width number?) -(s/def ::stroke-color us/color?) +(s/def ::stroke-color string?) (s/def ::stroke-opacity number?) (s/def ::rx number?) (s/def ::ry number?) diff --git a/frontend/src/uxbox/main/data/workspace.cljs b/frontend/src/uxbox/main/data/workspace.cljs index fe94f7e91..2e48351c0 100644 --- a/frontend/src/uxbox/main/data/workspace.cljs +++ b/frontend/src/uxbox/main/data/workspace.cljs @@ -576,11 +576,11 @@ ;; --- Apply Temporal Resize Matrix -(deftype ApplyTemporalResize [id xfmt] +(deftype ApplyTemporalResize [sid xfmt] ptk/UpdateEvent (update [_ state] (let [pid (get-in state [:workspace :current])] - (assoc-in state [:workspace pid :modifiers id :resize] xfmt)))) + (assoc-in state [:workspace pid :modifiers sid :resize] xfmt)))) (defn apply-temporal-resize "Attach temporal resize transformation to the shape."