finally image support

This commit is contained in:
pandadev 2024-07-16 23:08:42 +02:00
parent bae359f1cf
commit c67ed49c3d
No known key found for this signature in database
GPG key ID: C39629DACB8E762F
9 changed files with 98 additions and 100 deletions

View file

@ -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");