mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 04:57:46 +08:00
Remove protected expose of HandlingMouse
setter
Regardless of `OnDragEnd()`, `OnMouseUp()` will still be called resetting the value of that state back.
This commit is contained in:
parent
334927ed35
commit
b252485e1a
@ -74,7 +74,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
/// <summary>
|
||||
/// Whether this control is currently handling mouse down input.
|
||||
/// </summary>
|
||||
protected bool HandlingMouse { get; set; }
|
||||
protected bool HandlingMouse { get; private set; }
|
||||
|
||||
protected override bool OnMouseDown(MouseDownEvent e)
|
||||
{
|
||||
|
@ -24,7 +24,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
protected override void OnDragEnd(DragEndEvent e)
|
||||
{
|
||||
HandlingMouse = false;
|
||||
OnOperationEnded();
|
||||
|
||||
UpdateHoverState();
|
||||
|
Loading…
x
Reference in New Issue
Block a user