beremiz

0d7c41546854
Parents 13677d093946
Children c9ecf7d50888
SVGHMI: fix ToggleButton not always reflecting current state
--- 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();
}