mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 21:32:01 +00:00
Merge pull request #9173
This commit is contained in:
commit
1ae764bd35
2
changelog_entries/macos-option-key-label.md
Normal file
2
changelog_entries/macos-option-key-label.md
Normal file
@ -0,0 +1,2 @@
|
||||
### User interface
|
||||
* Option key is now identified as such instead of Alt in the Hotkeys preferences section on macOS builds
|
@ -55,7 +55,11 @@ const std::string hotkey_base::get_name() const
|
||||
|
||||
ret += (!ret.empty() && !boost::algorithm::ends_with(ret, "+") ? "+" : "");
|
||||
if(mod_ & KMOD_ALT) {
|
||||
#ifdef __APPLE__
|
||||
ret += "opt";
|
||||
#else
|
||||
ret += "alt";
|
||||
#endif
|
||||
}
|
||||
|
||||
ret += (!ret.empty() && !boost::algorithm::ends_with(ret, "+") ? "+" : "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user