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