Skip to content

Commit

Permalink
option as alt per default on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 20, 2025
1 parent 66257aa commit b0cab17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rio-backend/src/config/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ pub fn default_opacity() -> f32 {

#[inline]
pub fn default_option_as_alt() -> String {
String::from("None")
if cfg!(target_os = "macos") {
return String::from("both");
} else {
return String::from("none");
}
}

#[inline]
Expand Down

0 comments on commit b0cab17

Please sign in to comment.