mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 03:07:19 +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)
|
foreach (var graph in content)
|
||||||
{
|
{
|
||||||
|
if (graph.Alpha == 0) continue;
|
||||||
|
|
||||||
float valueAtHover = graph.Values.ElementAt(relevantCombo);
|
float valueAtHover = graph.Values.ElementAt(relevantCombo);
|
||||||
float ofTotal = valueAtHover / graph.Values.Last();
|
float ofTotal = valueAtHover / graph.Values.Last();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user