mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:07:52 +08:00
Fix cursor ripples being added on release positions in replays
This commit is contained in:
parent
4bbb1bc67e
commit
ce903987e7
@ -11,6 +11,7 @@ using osu.Framework.Input.Events;
|
|||||||
using osu.Game.Rulesets.Osu.Configuration;
|
using osu.Game.Rulesets.Osu.Configuration;
|
||||||
using osu.Game.Rulesets.Osu.Objects;
|
using osu.Game.Rulesets.Osu.Objects;
|
||||||
using osu.Game.Rulesets.Osu.Skinning.Default;
|
using osu.Game.Rulesets.Osu.Skinning.Default;
|
||||||
|
using osu.Game.Screens.Play;
|
||||||
using osu.Game.Skinning;
|
using osu.Game.Skinning;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
|
|
||||||
@ -39,6 +40,9 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
|||||||
|
|
||||||
public bool OnPressed(KeyBindingPressEvent<OsuAction> e)
|
public bool OnPressed(KeyBindingPressEvent<OsuAction> e)
|
||||||
{
|
{
|
||||||
|
if ((Clock as IGameplayClock)?.IsRewinding == true)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (showRipples.Value)
|
if (showRipples.Value)
|
||||||
{
|
{
|
||||||
AddInternal(ripplePool.Get(r =>
|
AddInternal(ripplePool.Get(r =>
|
||||||
|
Loading…
Reference in New Issue
Block a user