Skip to content

Commit

Permalink
use running/paused toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Mar 11, 2024
1 parent 277a7b0 commit 6db3683
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shimmers/sketches/mechanism.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@
[:div.flexcols
[:div {:style {:width "20em"}}
(ctrl/change-mode ui-state system-modes)
(ctrl/toggle-button ui-state {:mode-key :running})
(ctrl/toggle-button ui-state
{:mode-key :running
:states {false "Paused" true "Running"}})
(ctrl/checkbox ui-state "Show Angle/Path" [:show-angle-path])
(ctrl/numeric ui-state "Diametral Pitch" [:diametral-pitch] [0.05 1.0 0.01])
(ctrl/numeric ui-state "Driver Teeth" [:driver-teeth] [10 64 1])
Expand Down

0 comments on commit 6db3683

Please sign in to comment.