Fix UnboundLocalError

pull/91/head
Isaac Dadzie 2 years ago
parent 651edb9428
commit 8cf0f51112

@ -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