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:
Salman Ahmed
2021-04-25 20:13:21 +03:00
parent 334927ed35
commit b252485e1a
2 changed files with 1 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
/// <summary> /// <summary>
/// Whether this control is currently handling mouse down input. /// Whether this control is currently handling mouse down input.
/// </summary> /// </summary>
protected bool HandlingMouse { get; set; } protected bool HandlingMouse { get; private set; }
protected override bool OnMouseDown(MouseDownEvent e) protected override bool OnMouseDown(MouseDownEvent e)
{ {

View File

@ -24,7 +24,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
protected override void OnDragEnd(DragEndEvent e) protected override void OnDragEnd(DragEndEvent e)
{ {
HandlingMouse = false;
OnOperationEnded(); OnOperationEnded();
UpdateHoverState(); UpdateHoverState();