1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 02:32:55 +08:00

Fix extended tooltip content still being shown despite ShowExtendedTooltip being false

This commit is contained in:
smallketchup82 2024-01-18 03:18:44 -05:00
parent d80a5d44ee
commit 5c70c786b4

View File

@ -158,7 +158,12 @@ namespace osu.Game.Beatmaps.Drawables
difficultyName.Text = displayedContent.BeatmapInfo.DifficultyName; difficultyName.Text = displayedContent.BeatmapInfo.DifficultyName;
// Don't show difficulty stats if showExtendedTooltip is false // Don't show difficulty stats if showExtendedTooltip is false
if (!displayedContent.ShowExtendedTooltip) return; if (!displayedContent.ShowExtendedTooltip)
{
difficultyFillFlowContainer.Hide();
miscFillFlowContainer.Hide();
return;
}
// Show the difficulty stats if showExtendedTooltip is true // Show the difficulty stats if showExtendedTooltip is true
difficultyFillFlowContainer.Show(); difficultyFillFlowContainer.Show();