mirror of
https://github.com/ppy/osu.git
synced 2025-01-29 05:43:21 +08:00
9e5b6b97ff
Fixes issue described in the following comment: https://github.com/ppy/osu/pull/25759#issuecomment-1855954637 That is just not how the tooltip system is supposed to be used. To name the individual sins: - Caching and returning a tooltip instance like the classes that used tooltips is incorrect. The lifetime of tooltip instances is managed by the tooltip container. `GetCustomTooltip()` is called by it exclusively. It should return a fresh instance every time. - Not putting actual data in `IHasCustomTooltip.TooltipContent` is wrong. - Having `Tooltip.SetContent()` be a no-op is *grossly and flagrantly* wrong. I'm not even sure which particular combination of the above transgressions caused the issue as it presented itself, but at this time I frankly do not care. |
||
---|---|---|
.. | ||
Carousel | ||
Details | ||
Filter | ||
FooterV2 | ||
Leaderboards | ||
Options | ||
BeatmapCarousel.cs | ||
BeatmapClearScoresDialog.cs | ||
BeatmapDeleteDialog.cs | ||
BeatmapDetailArea.cs | ||
BeatmapDetailAreaDetailTabItem.cs | ||
BeatmapDetailAreaLeaderboardTabItem.cs | ||
BeatmapDetailAreaTabControl.cs | ||
BeatmapDetailAreaTabItem.cs | ||
BeatmapDetails.cs | ||
BeatmapInfoWedge.cs | ||
BeatmapInfoWedgeBackground.cs | ||
BeatmapInfoWedgeV2.cs | ||
FilterControl.cs | ||
FilterCriteria.cs | ||
FilterQueryParser.cs | ||
Footer.cs | ||
FooterButton.cs | ||
FooterButtonMods.cs | ||
FooterButtonOptions.cs | ||
FooterButtonRandom.cs | ||
LocalScoreDeleteDialog.cs | ||
NoResultsPlaceholder.cs | ||
PlayBeatmapDetailArea.cs | ||
PlaySongSelect.cs | ||
SkinDeleteDialog.cs | ||
SongSelect.cs | ||
SongSelectTouchInputDetector.cs | ||
WedgeBackground.cs |