mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-13 18:02:31 +03:00
fixed errors in webui_flet.py
fixed bare exception removed extra space after operator
This commit is contained in:
parent
0796b44868
commit
78acfd9d10
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user