Linux: Fix some crashes from new functions having unimplemented!() (#7567)

Release Notes:

- N/A
This commit is contained in:
h3mosphere authored and GitHub committed 2024-02-08 10:53:39 -05:00
1 parent d973cc2508
commit 3e467f0db8
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -346,7 +346,7 @@ impl Platform for LinuxPlatform {
//todo!(linux)
fn should_auto_hide_scrollbars(&self) -> bool {
unimplemented!()
false
}
//todo!(linux)
@@ -370,7 +370,7 @@ impl Platform for LinuxPlatform {
}
fn window_appearance(&self) -> crate::WindowAppearance {
unimplemented!()
crate::WindowAppearance::Light
}
}
+1 -1
View File
@@ -294,7 +294,7 @@ impl PlatformWindow for LinuxWindow {
//todo!(linux)
fn appearance(&self) -> WindowAppearance {
unimplemented!()
WindowAppearance::Light
}
fn display(&self) -> Rc<dyn PlatformDisplay> {