mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Remove invalidations in update
oops
This commit is contained in:
parent
101a26a53e
commit
e861661037
@ -53,12 +53,6 @@ namespace osu.Game.Screens.Play.HUD.ArgonHealthDisplayParts
|
||||
TextureShader = shaders.Load(VertexShaderDescriptor.TEXTURE_2, "ArgonBarPathBackground");
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
Invalidate(Invalidation.DrawNode);
|
||||
}
|
||||
|
||||
protected override DrawNode CreateDrawNode() => new ArgonBarPathDrawNode(this);
|
||||
|
||||
private class ArgonBarPathDrawNode : SpriteDrawNode
|
||||
|
@ -116,12 +116,6 @@ namespace osu.Game.Screens.Play.HUD.ArgonHealthDisplayParts
|
||||
TextureShader = shaders.Load(VertexShaderDescriptor.TEXTURE_2, "ArgonBarPath");
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
Invalidate(Invalidation.DrawNode);
|
||||
}
|
||||
|
||||
protected override DrawNode CreateDrawNode() => new ArgonBarPathDrawNode(this);
|
||||
|
||||
private class ArgonBarPathDrawNode : SpriteDrawNode
|
||||
|
Loading…
Reference in New Issue
Block a user