fix: tame animated resize scaling
This commit is contained in:
1 parent
f6dce3316a
commit
bf4f5f77f7
6 files changed
+27
-22
No files matched your search
@@ -332,7 +332,7 @@ impl Ferese {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn visual_scale_for_window(&self, window: &Window) -> Option<f64> {
|
||||
pub fn visual_scale_for_window(&self, window: &Window) -> Option<(f64, f64)> {
|
||||
let id = self.window_ids.get(window)?;
|
||||
self.window_geometry.get(id)?.visual_scale()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user