mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 02:17:35 +03:00
Linux: Fix some crashes from new functions having unimplemented!() (#7567)
Release Notes: - N/A
This commit is contained in:
parent
4048dbfafd
commit
006e7a77d5
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -294,7 +294,7 @@ impl PlatformWindow for LinuxWindow {
|
||||
|
||||
//todo!(linux)
|
||||
fn appearance(&self) -> WindowAppearance {
|
||||
unimplemented!()
|
||||
WindowAppearance::Light
|
||||
}
|
||||
|
||||
fn display(&self) -> Rc<dyn PlatformDisplay> {
|
||||
|
Loading…
Reference in New Issue
Block a user