mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 03:13:21 +08:00
Fix cursor not hiding for screenshots
This commit is contained in:
parent
257d14a096
commit
15fd8596c2
@ -90,7 +90,7 @@ namespace osu.Game.Graphics
|
|||||||
{
|
{
|
||||||
ScheduledDelegate waitDelegate = host.DrawThread.Scheduler.AddDelayed(() =>
|
ScheduledDelegate waitDelegate = host.DrawThread.Scheduler.AddDelayed(() =>
|
||||||
{
|
{
|
||||||
if (framesWaited++ < frames_to_wait)
|
if (framesWaited++ >= frames_to_wait)
|
||||||
// ReSharper disable once AccessToDisposedClosure
|
// ReSharper disable once AccessToDisposedClosure
|
||||||
framesWaitedEvent.Set();
|
framesWaitedEvent.Set();
|
||||||
}, 10, true);
|
}, 10, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user