Apply consistent widget method names. Semantic change: Widgets that want to tick when !Visible must override TickOuter() instead of Tick().
This commit is contained in:
@@ -33,7 +33,7 @@ namespace OpenRA.Mods.RA
|
||||
this.world = widget.world;
|
||||
}
|
||||
|
||||
public override void DrawInner()
|
||||
public override void Draw()
|
||||
{
|
||||
var state = Depressed ? "pressed" :
|
||||
RenderBounds.Contains(Viewport.LastMousePos) ? "hover" : "normal";
|
||||
|
||||
Reference in New Issue
Block a user