Skip to content

Commit

Permalink
Merge pull request #354 from MawiraIke/fix/path-annotations
Browse files Browse the repository at this point in the history
Fix path annotations [draft]
  • Loading branch information
superstructor committed Apr 3, 2022
2 parents 46bdfc1 + 08165df commit 6181803
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/day8/re_frame_10x/components/cljs_devtools.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@
:border-radius (px 1)
:margin [[0 0 (px 2) 0]]
:background-color (styles/syntax-color ambiance syntax-color-scheme :expanded-string-background)})
:default-envelope-style ""
;; Setting this prevents https://github.com/day8/re-frame-10x/issues/321
:max-number-body-items 10000})
:default-envelope-style ""})



Expand Down Expand Up @@ -564,6 +562,7 @@
(let [target (-> event .-target .-parentElement)
path (.getAttribute target "data-path")
btn (.-button event)]
(.preventDefault event)
(when (= btn 1) ;;middle click btn
(rf/dispatch [::app-db.events/create-path-and-skip-to path]))))]
[rc/box
Expand Down

0 comments on commit 6181803

Please sign in to comment.