1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Only block mouse input when the shaded portion of the SkipButton is hovered

This commit is contained in:
Dean Herbert 2018-03-05 19:43:33 +09:00
parent 0e2a7bf680
commit 7d11e55d06

View File

@ -36,6 +36,8 @@ namespace osu.Game.Screens.Play
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => true;
protected override bool BlockPassThroughMouse => fadeContainer.IsHovered;
public SkipButton(double startTime)
{
this.startTime = startTime;