Update button mouseover when switching menus.
This commit is contained in:
@@ -34,6 +34,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
void SwitchMenu(MenuType type)
|
void SwitchMenu(MenuType type)
|
||||||
{
|
{
|
||||||
menuType = type;
|
menuType = type;
|
||||||
|
|
||||||
|
// Update button mouseover
|
||||||
|
Game.RunAfterTick(Ui.ResetTooltips);
|
||||||
}
|
}
|
||||||
|
|
||||||
[ObjectCreator.UseCtor]
|
[ObjectCreator.UseCtor]
|
||||||
|
|||||||
Reference in New Issue
Block a user