mirror of https://github.com/ppy/osu
Fix dragging slider bars on nub not performing correctly relative movement
This commit is contained in:
parent
24cd845d1b
commit
b626135940
|
@ -165,6 +165,9 @@ protected override void OnHoverLost(HoverLostEvent e)
|
|||
base.OnHoverLost(e);
|
||||
}
|
||||
|
||||
protected override bool ShouldHandleAsRelativeDrag(MouseDownEvent e)
|
||||
=> Nub.ReceivePositionalInputAt(e.ScreenSpaceMouseDownPosition);
|
||||
|
||||
protected override void OnDragEnd(DragEndEvent e)
|
||||
{
|
||||
updateGlow();
|
||||
|
|
Loading…
Reference in New Issue