mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
On Web, remove Window::is_dark_mode() (#2951)
This commit is contained in:
committed by
Kirill Chibisov
parent
4baab2d93e
commit
78b5f2feb8
@@ -38,9 +38,6 @@ use web_sys::HtmlCanvasElement;
|
||||
pub trait WindowExtWebSys {
|
||||
/// Only returns the canvas if called from inside the window.
|
||||
fn canvas(&self) -> Option<HtmlCanvasElement>;
|
||||
|
||||
/// Whether the browser reports the preferred color scheme to be "dark".
|
||||
fn is_dark_mode(&self) -> bool;
|
||||
}
|
||||
|
||||
pub trait WindowBuilderExtWebSys {
|
||||
|
||||
Reference in New Issue
Block a user