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()
|
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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user