Skip to content

Commit

Permalink
fix recenter-to-dom-rect
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed Nov 14, 2024
1 parent 6d3d64d commit a9fc983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/frame/handlers.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
(select-keys [:width :height]))]
(if-not (-> db :window :focused)
db
(-> (:document-tabs db)
(reduce #(pan-by %1 (mat/div [(:width offset) (:height offset)] 2) %2) db)))))
(->> (:document-tabs db)
(reduce #(pan-by %1 (mat/div [(:width offset) (:height offset)] 2) %2) db)))))

(m/=> zoom-in-place [:-> App number? Vec2D App])
(defn zoom-in-place
Expand Down

0 comments on commit a9fc983

Please sign in to comment.