chore: multi-window example

This commit is contained in:
Ashley Wulber 2023-12-07 16:46:33 -05:00 committed by Ashley Wulber
parent c66e4aafd0
commit 685a0543cd
4 changed files with 179 additions and 2 deletions

View file

@ -114,7 +114,7 @@ where
}
#[cfg(feature = "multi-window")]
fn scale_factor(&self, id: window::Id) -> f64 {
fn scale_factor(&self, _id: window::Id) -> f64 {
f64::from(self.app.core().scale_factor())
}
@ -203,7 +203,7 @@ where
}
#[cfg(feature = "multi-window")]
fn theme(&self, id: window::Id) -> Self::Theme {
fn theme(&self, _id: window::Id) -> Self::Theme {
crate::theme::active()
}