1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

Only show visible graph values in tooltip

This commit is contained in:
Bartłomiej Dach 2023-09-12 13:29:02 +02:00
parent 15708ee465
commit 3981e2e957
No known key found for this signature in database

View File

@ -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();