mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 00:58:26 -05:00
🔥 Remove commented code.
This commit is contained in:
parent
b8cc4314ce
commit
6df0d34e2a
1 changed files with 1 additions and 6 deletions
|
@ -197,7 +197,6 @@
|
|||
|
||||
(defn initialize-viewport
|
||||
[{:keys [width height] :as size}]
|
||||
(js/console.log "initialize-viewport" size)
|
||||
(ptk/reify ::initialize-viewport
|
||||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
|
@ -208,11 +207,7 @@
|
|||
(update :vbox (fn [vbox]
|
||||
(if (nil? vbox)
|
||||
(assoc size :x 0 :y 0)
|
||||
vbox)))))))
|
||||
|
||||
ptk/WatchEvent
|
||||
(watch [_ state stream]
|
||||
#_(rx/of zoom-to-fit-all))))
|
||||
vbox)))))))))
|
||||
|
||||
(defn update-viewport-position
|
||||
[{:keys [x y] :or {x identity y identity}}]
|
||||
|
|
Loading…
Add table
Reference in a new issue