mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Also debounce updatePathVertices
to reduce overhead
This commit is contained in:
parent
6c346874d3
commit
1eb6c93916
@ -75,7 +75,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
glowBarValue = value;
|
glowBarValue = value;
|
||||||
updatePathVertices();
|
Scheduler.AddOnce(updatePathVertices);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
healthBarValue = value;
|
healthBarValue = value;
|
||||||
updatePathVertices();
|
Scheduler.AddOnce(updatePathVertices);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user