Added window::Id to multi_window application's scale_factor

This commit is contained in:
Bingus 2023-01-18 17:04:11 -08:00
parent 7e9a12a4aa
commit 0a643287de
No known key found for this signature in database
GPG key ID: 5F84D2AA40A9F170
4 changed files with 14 additions and 6 deletions

View file

@ -146,7 +146,7 @@ where
/// while a scale factor of `0.5` will shrink them to half their size.
///
/// By default, it returns `1.0`.
fn scale_factor(&self) -> f64 {
fn scale_factor(&self, window: window::Id) -> f64 {
1.0
}