# HG changeset patch # User Edouard Tisserant # Date 1662709527 -7200 # Node ID 0d7c41546854e283029f781e82f9ed687d17e1a7 # Parent 13677d093946b2810a7977a92d2cc6e1d005abd0 SVGHMI: fix ToggleButton not always reflecting current state diff -r 13677d093946 -r 0d7c41546854 svghmi/widget_tooglebutton.ysl2 --- a/svghmi/widget_tooglebutton.ysl2 Fri Sep 09 09:44:03 2022 +0200 +++ b/svghmi/widget_tooglebutton.ysl2 Fri Sep 09 09:45:27 2022 +0200 @@ -22,7 +22,7 @@ inactive_style = undefined; dispatch(value) { - this.actvity_state = Boolean(value); + this.activity_state = Boolean(value); //redraw toggle button this.request_animate(); }