Fix selected button but unselected text

This commit is contained in:
Flamefire committed 2014-12-21 12:18:08 +01:00
1 parent 24edcc7328
commit 9a5ac282c5
1 file changed
+1 -5
+1 -5
View File
@@ -300,11 +300,6 @@ namespace VocaluxeLib.Menu
} }
} }
public void ProcessMouseMove(int x, int y)
{
Selected = CHelper.IsInBounds(Rect, x, y);
}
public void UnloadSkin() public void UnloadSkin()
{ {
if (!ThemeLoaded) if (!ThemeLoaded)
@@ -318,6 +313,7 @@ namespace VocaluxeLib.Menu
return; return;
Text = new CText(_Theme.Text, _PartyModeID); Text = new CText(_Theme.Text, _PartyModeID);
Text.LoadSkin(); Text.LoadSkin();
Text.Selected = Selected;
if (_Theme.SelText.HasValue) if (_Theme.SelText.HasValue)
{ {