1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 06:02:55 +08:00

Merge pull request #28996 from bdach/fix-dim-again

Fix editor UI dimming when hovering over expanded part of toolboxes
This commit is contained in:
Dean Herbert 2024-07-22 19:11:31 +09:00 committed by GitHub
commit 7e5fda4539
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -305,7 +305,9 @@ namespace osu.Game.Rulesets.Edit
PlayfieldContentContainer.X = TOOLBOX_CONTRACTED_SIZE_LEFT; 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; public override Playfield Playfield => drawableRulesetWrapper.Playfield;