--- a/svghmi/widget_switch.ysl2 Wed Jun 15 11:41:59 2022 +0200 +++ b/svghmi/widget_switch.ysl2 Wed Jun 15 11:43:51 2022 +0200 @@ -26,7 +26,7 @@ current_value = undefined; init(){ - animate(); + this.animate(); } dispatch(value) {