Set defaults

This commit is contained in:
Daniel Compton 2016-12-09 10:55:17 +13:00
parent 2eba9de8bb
commit d2a4c78b9c
1 changed files with 3 additions and 3 deletions

View File

@ -193,11 +193,11 @@
;; Add clear button ;; Add clear button
;; Filter out different trace types ;; Filter out different trace types
(let [position (r/atom :right) (let [position (r/atom :right)
size (r/atom 0.5) size (r/atom 0.3)
showing? (r/atom true) showing? (r/atom false)
dragging? (r/atom false) dragging? (r/atom false)
pin-to-bottom? (r/atom true) pin-to-bottom? (r/atom true)
selected-tab (r/atom :subvis) selected-tab (r/atom :traces)
handle-keys (fn [e] handle-keys (fn [e]
(let [combo-key? (or (.-ctrlKey e) (.-metaKey e) (.-altKey e)) (let [combo-key? (or (.-ctrlKey e) (.-metaKey e) (.-altKey e))
tag-name (.-tagName (.-target e)) tag-name (.-tagName (.-target e))