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:
parent
dd8be62d07
commit
57fa502786
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user