Fix bad merge which set window-width back to a value

Fixes #90
This commit is contained in:
Daniel Compton 2017-10-26 11:24:17 +13:00
parent cbdcf552fc
commit 70d20af6e7
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@
dragging? (r/atom false) dragging? (r/atom false)
pin-to-bottom? (r/atom true) pin-to-bottom? (r/atom true)
selected-tab (r/atom (localstorage/get "selected-tab" :traces)) selected-tab (r/atom (localstorage/get "selected-tab" :traces))
window-width js/window.innerWidth window-width (r/atom js/window.innerWidth)
handle-window-resize (fn [e] handle-window-resize (fn [e]
;; N.B. I don't think this should be a perf bottleneck. ;; N.B. I don't think this should be a perf bottleneck.
(reset! window-width js/window.innerWidth)) (reset! window-width js/window.innerWidth))