mirror of
https://github.com/penpot/penpot.git
synced 2025-06-15 17:41:38 +02: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
|
(defn initialize-viewport
|
||||||
[{:keys [width height] :as size}]
|
[{:keys [width height] :as size}]
|
||||||
(js/console.log "initialize-viewport" size)
|
|
||||||
(ptk/reify ::initialize-viewport
|
(ptk/reify ::initialize-viewport
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
(update [_ state]
|
(update [_ state]
|
||||||
|
@ -208,11 +207,7 @@
|
||||||
(update :vbox (fn [vbox]
|
(update :vbox (fn [vbox]
|
||||||
(if (nil? vbox)
|
(if (nil? vbox)
|
||||||
(assoc size :x 0 :y 0)
|
(assoc size :x 0 :y 0)
|
||||||
vbox)))))))
|
vbox)))))))))
|
||||||
|
|
||||||
ptk/WatchEvent
|
|
||||||
(watch [_ state stream]
|
|
||||||
#_(rx/of zoom-to-fit-all))))
|
|
||||||
|
|
||||||
(defn update-viewport-position
|
(defn update-viewport-position
|
||||||
[{:keys [x y] :or {x identity y identity}}]
|
[{:keys [x y] :or {x identity y identity}}]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue