mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:43:22 +08:00
Fix extended tooltip content still being shown despite ShowExtendedTooltip being false
This commit is contained in:
parent
d80a5d44ee
commit
5c70c786b4
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user