Set defaults
This commit is contained in:
parent
2eba9de8bb
commit
d2a4c78b9c
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue