Skip to content

Commit 087ff8c

Browse files
committed
[Winforms] Fix easy_drag always enabled
1 parent fa39b8b commit 087ff8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webview/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,10 @@ def generate_func():
182182
'drag_selector': webview.DRAG_REGION_SELECTOR,
183183
'zoomable': str(window.zoomable).lower(),
184184
'draggable': str(window.draggable).lower(),
185-
'easy_drag': str(platform == 'chromium' and window.easy_drag).lower(),
185+
'easy_drag': str(platform == 'chromium' and window.easy_drag and window.frameless).lower(),
186186
}
187187
)
188+
188189
return js_code
189190

190191

0 commit comments

Comments
 (0)