1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 12:42:56 +08:00

Fix editor UI dimming when hovering over expanded part of toolboxes

Closes https://github.com/ppy/osu/issues/28969.
This commit is contained in:
Bartłomiej Dach 2024-07-22 11:57:46 +02:00
parent dd8be62d07
commit 57fa502786
No known key found for this signature in database

View File

@ -305,7 +305,9 @@ namespace osu.Game.Rulesets.Edit
PlayfieldContentContainer.X = TOOLBOX_CONTRACTED_SIZE_LEFT;
}
composerFocusMode.Value = PlayfieldContentContainer.Contains(InputManager.CurrentState.Mouse.Position);
composerFocusMode.Value = PlayfieldContentContainer.Contains(InputManager.CurrentState.Mouse.Position)
&& !LeftToolbox.Contains(InputManager.CurrentState.Mouse.Position)
&& !RightToolbox.Contains(InputManager.CurrentState.Mouse.Position);
}
public override Playfield Playfield => drawableRulesetWrapper.Playfield;