fixed errors in webui_flet.py

fixed bare exception
removed extra space after operator
This commit is contained in:
aedh carrick 2022-11-29 16:20:52 -06:00 committed by GitHub
parent 0796b44868
commit 78acfd9d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -705,7 +705,7 @@ def main(page: ft.Page):
def make_layer_display():
try:
make_layer_display.count += 1
except:
except Exception:
make_layer_display.count = 1
layer_display = ft.Column(
@ -746,7 +746,7 @@ def main(page: ft.Page):
layer_handle = ft.GestureDetector(
content = ft.Draggable(
group = 'layer',
content = ft.Icon(
content = ft.Icon(
name = ft.icons.DRAG_HANDLE,
data = {'parent':layer_display.controls[1]},
tooltip = 'drag to move',