Linux: Fix some crashes from new functions having unimplemented!() (#7567)
Release Notes: - N/A
This commit is contained in:
@@ -346,7 +346,7 @@ impl Platform for LinuxPlatform {
|
|||||||
|
|
||||||
//todo!(linux)
|
//todo!(linux)
|
||||||
fn should_auto_hide_scrollbars(&self) -> bool {
|
fn should_auto_hide_scrollbars(&self) -> bool {
|
||||||
unimplemented!()
|
false
|
||||||
}
|
}
|
||||||
|
|
||||||
//todo!(linux)
|
//todo!(linux)
|
||||||
@@ -370,7 +370,7 @@ impl Platform for LinuxPlatform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn window_appearance(&self) -> crate::WindowAppearance {
|
fn window_appearance(&self) -> crate::WindowAppearance {
|
||||||
unimplemented!()
|
crate::WindowAppearance::Light
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -294,7 +294,7 @@ impl PlatformWindow for LinuxWindow {
|
|||||||
|
|
||||||
//todo!(linux)
|
//todo!(linux)
|
||||||
fn appearance(&self) -> WindowAppearance {
|
fn appearance(&self) -> WindowAppearance {
|
||||||
unimplemented!()
|
WindowAppearance::Light
|
||||||
}
|
}
|
||||||
|
|
||||||
fn display(&self) -> Rc<dyn PlatformDisplay> {
|
fn display(&self) -> Rc<dyn PlatformDisplay> {
|
||||||
|
|||||||
Reference in New Issue
Block a user