1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00
osu-lazer/osu.Game
Bartłomiej Dach 25e38560ce
Fix placeholder drawables on beatmap listing not always hiding correctly
`BeatmapListingOverlay.addContentToPlaceholder()`, in order to make
transitions between different beatmap listing content (whether it is
actual cards, or placeholders for no beatmaps found/supporter-specific
filters chosen), would set `BypassAutoSizeAxes = Y` on content as it is
fading out, to make the transition smoother. The property in question
was supposed to be getting restored to `None` on the next show.

In testing scenarios, it sometimes turned out that this wasn't the case,
therefore making the placeholders effectively not show - while they
were present and fully opaque, they would be the only child of
an auto-sized container with `BypassAutoSizeAxes = Y`, so the parent
auto-sized to a zero height, which logically follows from the premise,
but is not what was desired.

This in turn was caused by the fact that the `BypassAutoSizeAxes = Y`
set was scheduled, and sometimes it would be scheduled in such a way
that the drawable would cease to be present on the next frame due to its
alpha being past the cutoff point of 0.0001. Therefore the scheduled set
would not execute until the *next* time the placeholder was shown,
therefore causing the bug.

Fix by ensuring that the placeholder drawables are always present if
their schedulers have any tasks enqueued, on top of the usual checks of
alpha and scale performed via the base implementation.
2021-12-22 15:05:23 +01:00
..
Audio Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
Beatmaps Rename BeatmapCard{Base => } 2021-12-21 08:26:25 +01:00
Collections Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
Configuration Do not reset last hover sound playback time on inactivity 2021-12-21 08:47:41 +01:00
Database Fix online lookup cache not clearing completed task on early return 2021-12-21 11:13:41 +01:00
Extensions Add MatchesOnlineID implementation for IScoreInfo 2021-12-10 18:34:31 +09:00
Graphics Merge branch 'master' into master 2021-12-16 16:58:24 +03:00
Input Refactor KeyBindingStore to clean up any excess bindings for individual actions 2021-12-13 15:26:51 +09:00
IO Add accessibility to realm factory via IStorageResourceProvider 2021-12-14 14:19:49 +09:00
IPC Update IPC usage to return null 2021-12-03 14:30:15 +09:00
Localisation Reword mouse wheel disable setting to better explain its purpose 2021-12-03 17:18:07 +09:00
Migrations Fix stray typo 2021-11-19 13:27:06 +09:00
Models Add missing equality implementations on IRulesetInfo 2021-12-03 18:01:45 +09:00
Online Add and use separate extensions for historical and upcoming playlist items 2021-12-21 08:01:04 +01:00
Overlays Fix placeholder drawables on beatmap listing not always hiding correctly 2021-12-22 15:05:23 +01:00
Performance Add LocalUserPlayInfo interface to convey common information about player status 2021-08-17 16:15:47 +09:00
Properties
Replays Add deep cloning support to Score/ScoreInfo/Replay 2021-07-19 14:14:28 +09:00
Rulesets Remove using 2021-12-21 13:44:20 +03:00
Scoring Create PerformanceAttributes 2021-12-21 13:08:31 +03:00
Screens Merge pull request #16135 from stanriders/refactor-diffcalc 2021-12-22 19:44:02 +09:00
Skinning Fix null reference in some tests due to missing realm context factory 2021-12-15 11:16:37 +09:00
Stores Provide a realm factory to usages of ToLive/RealmLive 2021-12-14 14:26:34 +09:00
Storyboards Use longer form to read better 2021-12-14 17:41:09 +09:00
Tests Fix ImportCollectionsTest.TestSaveAndReload not cleaning up before/after run 2021-12-22 13:38:20 +09:00
Updater Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
Users Add test for ranked/unranked user display 2021-12-19 13:40:22 +01:00
Utils Fix xmldoc reference 2021-11-17 11:46:06 +09:00
.editorconfig Add localisation license header to editorconfig 2021-08-02 11:44:10 +09:00
osu!.res
osu.Game.csproj Update framework 2021-12-21 16:38:03 +09:00
OsuGame.cs Rename method and simplify SetDefault calling code 2021-12-21 15:34:32 +09:00
OsuGameBase_Importing.cs Move import logic out to partial class 2021-05-28 02:44:44 +09:00
OsuGameBase.cs Merge branch 'master' into realm-integration/skins-rebase 2021-12-06 15:21:02 +09:00
PerformFromMenuRunner.cs Add flow to allow MatchSubScreen to handle beatmap presentation locally 2021-03-03 14:13:51 +09:00