default to no overlay on linux

This commit is contained in:
CJ Pais 2025-10-13 10:00:16 -07:00
parent 13d33200c5
commit 1029e901d1

View file

@ -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 {