mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 05:13:21 +08:00
Remove references to PassThrough.
This commit is contained in:
parent
0bd3138887
commit
c4ca18eeba
@ -152,7 +152,6 @@ namespace osu.Game.Screens.Play
|
|||||||
playerInputManager = new PlayerInputManager(game.Host)
|
playerInputManager = new PlayerInputManager(game.Host)
|
||||||
{
|
{
|
||||||
Clock = new InterpolatingFramedClock(sourceClock),
|
Clock = new InterpolatingFramedClock(sourceClock),
|
||||||
PassThrough = false,
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
hitRenderer,
|
hitRenderer,
|
||||||
@ -196,7 +195,6 @@ namespace osu.Game.Screens.Play
|
|||||||
if (canPause || force)
|
if (canPause || force)
|
||||||
{
|
{
|
||||||
lastPauseActionTime = Time.Current;
|
lastPauseActionTime = Time.Current;
|
||||||
playerInputManager.PassThrough = true;
|
|
||||||
scoreOverlay.KeyCounter.IsCounting = false;
|
scoreOverlay.KeyCounter.IsCounting = false;
|
||||||
pauseOverlay.Retries = RestartCount;
|
pauseOverlay.Retries = RestartCount;
|
||||||
pauseOverlay.Show();
|
pauseOverlay.Show();
|
||||||
@ -212,7 +210,6 @@ namespace osu.Game.Screens.Play
|
|||||||
public void Resume()
|
public void Resume()
|
||||||
{
|
{
|
||||||
lastPauseActionTime = Time.Current;
|
lastPauseActionTime = Time.Current;
|
||||||
playerInputManager.PassThrough = false;
|
|
||||||
scoreOverlay.KeyCounter.IsCounting = true;
|
scoreOverlay.KeyCounter.IsCounting = true;
|
||||||
pauseOverlay.Hide();
|
pauseOverlay.Hide();
|
||||||
sourceClock.Start();
|
sourceClock.Start();
|
||||||
|
Loading…
Reference in New Issue
Block a user