mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 21:32:57 +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");
|
TextureShader = shaders.Load(VertexShaderDescriptor.TEXTURE_2, "ArgonBarPathBackground");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Update()
|
|
||||||
{
|
|
||||||
base.Update();
|
|
||||||
Invalidate(Invalidation.DrawNode);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override DrawNode CreateDrawNode() => new ArgonBarPathDrawNode(this);
|
protected override DrawNode CreateDrawNode() => new ArgonBarPathDrawNode(this);
|
||||||
|
|
||||||
private class ArgonBarPathDrawNode : SpriteDrawNode
|
private class ArgonBarPathDrawNode : SpriteDrawNode
|
||||||
|
@ -116,12 +116,6 @@ namespace osu.Game.Screens.Play.HUD.ArgonHealthDisplayParts
|
|||||||
TextureShader = shaders.Load(VertexShaderDescriptor.TEXTURE_2, "ArgonBarPath");
|
TextureShader = shaders.Load(VertexShaderDescriptor.TEXTURE_2, "ArgonBarPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Update()
|
|
||||||
{
|
|
||||||
base.Update();
|
|
||||||
Invalidate(Invalidation.DrawNode);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override DrawNode CreateDrawNode() => new ArgonBarPathDrawNode(this);
|
protected override DrawNode CreateDrawNode() => new ArgonBarPathDrawNode(this);
|
||||||
|
|
||||||
private class ArgonBarPathDrawNode : SpriteDrawNode
|
private class ArgonBarPathDrawNode : SpriteDrawNode
|
||||||
|
Loading…
Reference in New Issue
Block a user