On Web, remove Window::is_dark_mode() (#2951)
This commit is contained in:
parent
44e2f95331
commit
5379d60e4d
3 changed files with 1 additions and 9 deletions
|
|
@ -55,12 +55,6 @@ impl WindowExtWebSys for Window {
|
|||
fn canvas(&self) -> Option<HtmlCanvasElement> {
|
||||
self.window.canvas()
|
||||
}
|
||||
|
||||
fn is_dark_mode(&self) -> bool {
|
||||
self.window
|
||||
.inner
|
||||
.queue(|inner| is_dark_mode(&inner.window).unwrap_or(false))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn scale_factor(window: &web_sys::Window) -> f64 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue