mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-22 13:44:05 +02:00
finally image support
This commit is contained in:
parent
bae359f1cf
commit
c67ed49c3d
9 changed files with 98 additions and 100 deletions
|
@ -29,7 +29,7 @@ pub fn setup(app_handle: tauri::AppHandle) {
|
|||
println!("V key pressed");
|
||||
if meta_pressed {
|
||||
println!("Meta+V detected");
|
||||
let window = app_handle.get_window("main").unwrap();
|
||||
let window = app_handle.get_webview_window("main").unwrap();
|
||||
let is_visible = window.is_visible().unwrap();
|
||||
if is_visible {
|
||||
println!("Hiding window");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue