split Widget static bits into Ui static class
This commit is contained in:
@@ -35,7 +35,7 @@ namespace OpenRA.Widgets
|
||||
public override void Draw()
|
||||
{
|
||||
var state = IsSelected() ? "scrollitem-selected" :
|
||||
Widget.MouseOverWidget == this ? "scrollitem-hover" :
|
||||
Ui.MouseOverWidget == this ? "scrollitem-hover" :
|
||||
null;
|
||||
|
||||
if (state != null)
|
||||
|
||||
Reference in New Issue
Block a user