mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Avoid using input blocking
This commit is contained in:
@ -35,8 +35,7 @@ namespace osu.Game.Screens.Play
|
|||||||
private double displayTime;
|
private double displayTime;
|
||||||
|
|
||||||
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => true;
|
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => true;
|
||||||
|
protected override bool BlockPassThroughMouse => false;
|
||||||
protected override bool BlockPassThroughMouse => fadeContainer.IsHovered;
|
|
||||||
|
|
||||||
public SkipOverlay(double startTime)
|
public SkipOverlay(double startTime)
|
||||||
{
|
{
|
||||||
@ -276,7 +275,7 @@ namespace osu.Game.Screens.Play
|
|||||||
flow.TransformSpacingTo(new Vector2(5), 500, Easing.OutQuint);
|
flow.TransformSpacingTo(new Vector2(5), 500, Easing.OutQuint);
|
||||||
box.FadeColour(colourHover, 500, Easing.OutQuint);
|
box.FadeColour(colourHover, 500, Easing.OutQuint);
|
||||||
background.FadeTo(0.4f, 500, Easing.OutQuint);
|
background.FadeTo(0.4f, 500, Easing.OutQuint);
|
||||||
return base.OnHover(state);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnHoverLost(InputState state)
|
protected override void OnHoverLost(InputState state)
|
||||||
|
Reference in New Issue
Block a user