1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 15:27:26 +08:00
osu-lazer/osu.Game
Dean Herbert 520d2d6cfa Fix beatmap carousel panels accepting input while marked as not-visible
This is an issue as carousel panels manage their own animated state. If
they are marked as not-visible (done at a higher level, from filtering
or update pathways) but clicked while fading out, they will animate back
to a visible state but not be marked as visible.

No tests for this one as it's probably not worthwhile to test (and hard
to do so). Manual testing can be done with the following patch:

```diff
diff --git a/osu.Game/Screens/Select/BeatmapCarousel.cs
b/osu.Game/Screens/Select/BeatmapCarousel.cs
index c3d340ac61..3372242acc 100644
--- a/osu.Game/Screens/Select/BeatmapCarousel.cs
+++ b/osu.Game/Screens/Select/BeatmapCarousel.cs
@@ -255,7 +255,7 @@ private void
beatmapSetsChanged(IRealmCollection<BeatmapSetInfo> sender, ChangeS
             }

             foreach (int i in changes.NewModifiedIndices)
-                UpdateBeatmapSet(sender[i].Detach());
+                Scheduler.AddDelayed(() =>
                 UpdateBeatmapSet(sender[i].Detach()), 100, true);

             foreach (int i in changes.InsertedIndices)
                 UpdateBeatmapSet(sender[i].Detach());

```

- Enter gameplay and adjust beatmap offset then return to song select
  and click the flashing panel.
OR
- Enter editor and save then return to song select and click the
  flashing panel.

Closes https://github.com/ppy/osu/discussions/17171.
2022-03-09 16:08:52 +09:00
..
Audio Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
Beatmaps Merge branch 'master' into ruleset-leaderboard-unavailable 2022-03-03 22:52:20 +01:00
Collections Block collection loading until realm migration has completed 2022-01-27 00:34:51 +09:00
Configuration Revert "Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available" 2022-03-05 16:42:51 +01:00
Database Remove unused variable 2022-03-08 18:19:54 +09:00
Extensions Convert to extension method to avoid recursive calls 2022-03-03 14:15:37 +09:00
Graphics Merge pull request #17115 from frenzibyte/manual-channel-scroll 2022-03-07 11:26:23 +09:00
Input Add replay statistics frames to FramedReplayInputHandler 2022-01-31 18:53:47 +09:00
IO Merge branch 'master' into net6 2022-02-14 22:06:35 +09:00
IPC Update IPC usage to return null 2021-12-03 14:30:15 +09:00
Localisation Merge pull request #17073 from peppy/add-offset-adjust-tooltip-text 2022-03-05 23:28:24 +09:00
Migrations Revert "Remove all EF migrations" 2022-01-29 23:13:23 +09:00
Models Add support for creating new blank difficulties 2022-02-02 21:55:33 +01:00
Online Remove user from SubmittableScore 2022-03-08 18:38:24 +09:00
Overlays Merge pull request #17161 from smoogipoo/fix-listing-score-conversion 2022-03-09 13:32:45 +09:00
Performance Add LocalUserPlayInfo interface to convey common information about player status 2021-08-17 16:15:47 +09:00
Properties
Replays
Rulesets Merge pull request #17157 from peppy/fix-statistics-json-serialisation 2022-03-08 20:20:31 +09:00
Scoring Fix scores not being recalculated in beatmap listing 2022-03-08 19:07:39 +09:00
Screens Fix beatmap carousel panels accepting input while marked as not-visible 2022-03-09 16:08:52 +09:00
Skinning Merge branch 'master' into scaling-container-better-custom-override 2022-03-03 22:32:23 +01:00
Stores Rename parameter to match other usages 2022-02-08 20:35:38 +09:00
Storyboards Make mods argument optional for storyboard construction 2022-03-04 12:05:02 +09:00
Tests Add failing test case 2022-03-02 20:32:41 +03:00
Updater Fix clear identifier typos 2021-12-27 20:26:28 -08:00
Users Fix avatar not clickable after watching replay 2022-03-09 14:39:02 +09:00
Utils Remove unused utils class 2022-02-21 13:43:30 +09:00
.editorconfig Add localisation license header to editorconfig 2021-08-02 11:44:10 +09:00
osu!.res
osu.Game.csproj Merge branch 'master' into add-display-choice-dropdown 2022-03-05 14:39:59 +01:00
OsuGame.cs Enable high chat polling rate 2022-02-25 16:03:56 +09:00
OsuGameBase_Importing.cs
OsuGameBase.cs Merge pull request #16890 from peppy/beatmap-decoder-ruleset-store 2022-02-25 19:03:43 +09:00
PerformFromMenuRunner.cs