Fix selected button but unselected text
This commit is contained in:
1 parent
24edcc7328
commit
9a5ac282c5
1 file changed
+1
-5
@@ -300,11 +300,6 @@ namespace VocaluxeLib.Menu
|
||||
}
|
||||
}
|
||||
|
||||
public void ProcessMouseMove(int x, int y)
|
||||
{
|
||||
Selected = CHelper.IsInBounds(Rect, x, y);
|
||||
}
|
||||
|
||||
public void UnloadSkin()
|
||||
{
|
||||
if (!ThemeLoaded)
|
||||
@@ -318,6 +313,7 @@ namespace VocaluxeLib.Menu
|
||||
return;
|
||||
Text = new CText(_Theme.Text, _PartyModeID);
|
||||
Text.LoadSkin();
|
||||
Text.Selected = Selected;
|
||||
|
||||
if (_Theme.SelText.HasValue)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user