Skip to content

Commit acc568d

Browse files
committed
docs(example): update streamline widget example
1 parent 191227c commit acc568d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/demo/widget.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,8 @@ def _on_widget_update(self, line_widget, **_):
141141
self.seed.SetPoint1(p1)
142142
self.seed.SetPoint2(p2)
143143

144-
# # prevent requesting geometry too often
145-
# BUG the widget REP go in the wrong spot on the WASM side
146-
# self.ctrl.view_update()
144+
# prevent requesting geometry too often
145+
self.ctrl.view_update()
147146

148147
def _build_ui(self):
149148
with DivLayout(self.server):

0 commit comments

Comments
 (0)