Merge pull request #91 from idadzie/fix-unboundlocalerror

Fix UnboundLocalError
pull/96/head
Xingang Pan 2 years ago committed by GitHub
commit 3eb9567a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -90,6 +90,7 @@ class DragWidget:
@imgui_utils.scoped_by_object_id
def __call__(self, show=True):
viz = self.viz
reset = False
if show:
with imgui_utils.grayed_out(self.disabled_time != 0):
imgui.text('Drag')

Loading…
Cancel
Save