1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 01:05:52 +08:00

Merge pull request #7628 from smoogipoo/fix-screenshot-cursor-hide

Fix cursor not hiding for screenshots
This commit is contained in:
Dean Herbert
2020-01-27 12:51:36 +09:00
committed by GitHub
Unverified
+1 -1
View File
@@ -90,7 +90,7 @@ namespace osu.Game.Graphics
{
ScheduledDelegate waitDelegate = host.DrawThread.Scheduler.AddDelayed(() =>
{
if (framesWaited++ < frames_to_wait)
if (framesWaited++ >= frames_to_wait)
// ReSharper disable once AccessToDisposedClosure
framesWaitedEvent.Set();
}, 10, true);