summaryrefslogtreecommitdiffstats
path: root/winit/src/multi_window.rs
diff options
context:
space:
mode:
authorLibravatar Bingus <shankern@protonmail.com>2023-01-18 17:04:11 -0800
committerLibravatar Bingus <shankern@protonmail.com>2023-01-18 17:04:11 -0800
commit0a643287deece9234b64cc843a9f6ae3e6e4806e (patch)
treef0072a46432d8e2f1a8a4131ac05297283d2dea5 /winit/src/multi_window.rs
parent7e9a12a4aa64deda193dfc0f18c34f93e3adc852 (diff)
downloadiced-0a643287deece9234b64cc843a9f6ae3e6e4806e.tar.gz
iced-0a643287deece9234b64cc843a9f6ae3e6e4806e.tar.bz2
iced-0a643287deece9234b64cc843a9f6ae3e6e4806e.zip
Added window::Id to multi_window application's scale_factor
Diffstat (limited to '')
-rw-r--r--winit/src/multi_window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/winit/src/multi_window.rs b/winit/src/multi_window.rs
index d7378a1d..ad65e6a5 100644
--- a/winit/src/multi_window.rs
+++ b/winit/src/multi_window.rs
@@ -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
}