Skip to content

Commit

Permalink
Fix the toggle button constructor (#234)
Browse files Browse the repository at this point in the history
Co-authored-by: Kliebisch, Oliver <oliver.kliebisch@dlr.de>
  • Loading branch information
TacHawkes and Kliebisch, Oliver authored Sep 3, 2023
1 parent 00b2265 commit 094339b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Live/buttons.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function ToggleButton(
on_deactivated::Function = on_deactivated,
kwargs...,
)
return Button(
return ToggleButton(
WidgetInternals(Measure(), nothing, on_draw, on_activated, on_deactivated, false),
controls,
message,
Expand Down

0 comments on commit 094339b

Please sign in to comment.