fix: titlebar on windows

This commit is contained in:
reya
2024-08-19 10:28:38 +07:00
parent ce7828310b
commit 307fff7a53
3 changed files with 96 additions and 84 deletions

View File

@@ -174,9 +174,6 @@ fn main() {
if let tauri::WindowEvent::ThemeChanged(_) = event {
win.set_traffic_lights_inset(8.0, 16.0).unwrap();
}
if let tauri::WindowEvent::Resized(_) = event {
win.set_traffic_lights_inset(8.0, 16.0).unwrap();
}
});
// Create data folder if not exist