mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
UI/App - Allow text selection (#1593)
* When run in app mode on windows, allows selection of text from non-input controls, which is the same behaviour as web mode.
This commit is contained in:
@@ -30,7 +30,11 @@ def launch_app(address):
|
||||
width = window.winfo_screenwidth()
|
||||
height = window.winfo_screenheight()
|
||||
webview.create_window(
|
||||
"SHARK AI Studio", url=address, width=width, height=height
|
||||
"SHARK AI Studio",
|
||||
url=address,
|
||||
width=width,
|
||||
height=height,
|
||||
text_select=True,
|
||||
)
|
||||
webview.start(private_mode=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user