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

Add comment mentioning why ShowTooltip is disabled in mod select panels

This commit is contained in:
Dean Herbert 2023-06-12 15:31:22 +09:00
parent 8864014af8
commit 99f93f5185

View File

@ -127,14 +127,14 @@ namespace osu.Game.Overlays.Mods
{ {
Left = -18 * ShearedOverlayContainer.SHEAR Left = -18 * ShearedOverlayContainer.SHEAR
}, },
ShowTooltip = false, ShowTooltip = false, // Tooltip is handled by `IncompatibilityDisplayingModPanel`.
}, },
descriptionText = new TruncatingSpriteText descriptionText = new TruncatingSpriteText
{ {
Font = OsuFont.Default.With(size: 12), Font = OsuFont.Default.With(size: 12),
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0), Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0),
ShowTooltip = false, ShowTooltip = false, // Tooltip is handled by `IncompatibilityDisplayingModPanel`.
} }
} }
} }