diff --git a/src/uxbox/ui/workspace/header.cljs b/src/uxbox/ui/workspace/header.cljs index 002490c0f..5f3159357 100644 --- a/src/uxbox/ui/workspace/header.cljs +++ b/src/uxbox/ui/workspace/header.cljs @@ -41,9 +41,13 @@ [:li.coordinates {:alt "y"} (str "Y: " (:y coords "-"))] [:li.zoom-input - [:span.add-zoom "+"] - [:span "100%"] - [:span.remove-zoom "-"]]]))) + [:span.add-zoom + {:on-click #(rs/emit! (dw/increase-zoom))} + "+"] + [:span (str (mth/round (* 100 zoom)) "%")] + [:span.remove-zoom + {:on-click #(rs/emit! (dw/decrease-zoom))} + "-"]]]))) (def coordinates (mx/component