Use a default get value for panel-width-ratio ls

This commit is contained in:
Daniel Compton 2017-08-25 11:07:16 +12:00
parent 46c4b402bf
commit 036392b648
1 changed files with 1 additions and 2 deletions

View File

@ -270,8 +270,7 @@
;; Add clear button
;; Filter out different trace types
(let [position (r/atom :right)
panel-width-ratio (r/atom (or (localstorage/get "panel-width-ratio")
0.35))
panel-width-ratio (r/atom (localstorage/get "panel-width-ratio" 0.35))
showing? (r/atom false)
dragging? (r/atom false)
pin-to-bottom? (r/atom true)