default to no overlay on linux
This commit is contained in:
parent
13d33200c5
commit
1029e901d1
1 changed files with 4 additions and 1 deletions
|
|
@ -143,7 +143,10 @@ fn default_selected_language() -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn default_overlay_position() -> OverlayPosition {
|
fn default_overlay_position() -> OverlayPosition {
|
||||||
OverlayPosition::Bottom
|
#[cfg(target_os = "linux")]
|
||||||
|
return OverlayPosition::None;
|
||||||
|
#[cfg(not(target_os = "linux"))]
|
||||||
|
return OverlayPosition::Bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn default_debug_mode() -> bool {
|
fn default_debug_mode() -> bool {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue