mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09: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:
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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();
|
||||||
|
Reference in New Issue
Block a user