Skip to content

Commit e9b0be2

Browse files
committed
Fix error on pyodide
1 parent 3c4a59c commit e9b0be2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webgpu/canvas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
def debounce(arg=None):
1414
def decorator(func):
1515
if platform.is_pyodide:
16-
return render_function
16+
return arg
1717

1818
# Render only once every 1/_TARGET_FPS seconds
1919
@functools.wraps(func)

0 commit comments

Comments
 (0)