mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-29 10:56:06 +00:00
Enabled text_select in pywebview main window
This commit is contained in:
parent
c7d9413dab
commit
f2dc176f00
|
@ -77,7 +77,7 @@ if __name__ == '__main__':
|
||||||
w = 800
|
w = 800
|
||||||
h = 600
|
h = 600
|
||||||
window = webview.create_window('deemix', 'http://'+url+':'+str(port),
|
window = webview.create_window('deemix', 'http://'+url+':'+str(port),
|
||||||
confirm_close=True, x=x, y=y, width=w, height=h)
|
confirm_close=True, x=x, y=y, width=w, height=h, text_select=True)
|
||||||
window.closing += save_position
|
window.closing += save_position
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
from webview.platforms.cef import settings
|
from webview.platforms.cef import settings
|
||||||
|
|
Loading…
Reference in a new issue