mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Only show visible graph values in tooltip
This commit is contained in:
parent
15708ee465
commit
3981e2e957
@ -550,6 +550,8 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
|
||||
foreach (var graph in content)
|
||||
{
|
||||
if (graph.Alpha == 0) continue;
|
||||
|
||||
float valueAtHover = graph.Values.ElementAt(relevantCombo);
|
||||
float ofTotal = valueAtHover / graph.Values.Last();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user