Desktop: Fix minimize/restore animations on Windows (#3492)

fix minimize animation on win
This commit is contained in:
Timon
2025-12-18 15:53:36 +00:00
committed by GitHub
parent 14b8cdf4cb
commit 6f087eb981
4 changed files with 53 additions and 3 deletions
+4
View File
@@ -28,6 +28,10 @@ impl super::NativeWindow for NativeWindowImpl {
let native_handle = native_handle::NativeWindowHandle::new(window);
NativeWindowImpl { native_handle }
}
fn can_render(&self) -> bool {
self.native_handle.can_render()
}
}
impl Drop for NativeWindowImpl {