hotkey usability
resolve hotkey conflicts, fixes #2883 add/display existing in-game button hotkeys, fixes #2932
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.RA.Widgets
|
||||
public OrderButtonWidget()
|
||||
{
|
||||
GetImage = () => Enabled() ? Pressed() ? "pressed" : "normal" : "disabled";
|
||||
GetDescription = () => Description;
|
||||
GetDescription = () => Key != null ? "{0} ({1})".F(Description, Key.ToUpper()) : Description;
|
||||
GetLongDesc = () => LongDesc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user