mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 08:28:12 +08:00
Desktop: Fix minimize/restore animations on Windows (#3492)
fix minimize animation on win
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user