Skip to content

Commit

Permalink
Fix flipped toggle state
Browse files Browse the repository at this point in the history
  • Loading branch information
zalky committed Jan 18, 2023
1 parent 54b9541 commit be0efa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/clojure/reflet/debug/ui/impl.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@
(fsm/reg-fsm ::node-fsm
(fn [self]
{:ref self
:fsm {nil {[::set-props self] ::open}
::open {[::close self] ::closed}
::closed {[::open self] ::open}}}))
:fsm {nil {[::set-props self] ::closed}
::closed {[::open self] ::open}
::open {[::close self] ::closed}}}))

(fsm/reg-fsm ::panel-fsm
(fn [self tap]
Expand Down

0 comments on commit be0efa4

Please sign in to comment.