1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 23:57:22 +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:
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>
/// 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)
{

View File

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