chore: multi-window example
This commit is contained in:
parent
c66e4aafd0
commit
685a0543cd
4 changed files with 179 additions and 2 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue