Skip to content

Commit

Permalink
Continue loading even when osu! logo is being dragged at loading screen
Browse files Browse the repository at this point in the history
Closes ppy#28130.
  • Loading branch information
peppy committed May 14, 2024
1 parent c31b503 commit cff865b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Screens/Play/PlayerLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected bool BackgroundBrightnessReduction
// not ready if the user is hovering one of the panes (logo is excluded), unless they are idle.
(IsHovered || osuLogo?.IsHovered == true || idleTracker.IsIdle.Value)
// not ready if the user is dragging a slider or otherwise.
&& inputManager.DraggedDrawable == null
&& (inputManager.DraggedDrawable == null || inputManager.DraggedDrawable is OsuLogo)
// not ready if a focused overlay is visible, like settings.
&& inputManager.FocusedDrawable == null;

Expand Down

0 comments on commit cff865b

Please sign in to comment.