# HG changeset patch # User Edouard Tisserant # Date 1655286231 -7200 # Node ID d3cf85a3c282a791a671be62d54e9090f12bd199 # Parent b90a0acc8c4e9cc10741b4b24347f08f4716355e SVGHMI: nasty scope shadowing bug... was making funny recursion, leading to really slow interaction. diff -r b90a0acc8c4e -r d3cf85a3c282 svghmi/widget_switch.ysl2 --- 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) {