mirror of
https://github.com/ppy/osu
synced 2025-01-18 20:10:49 +00:00
Merge pull request #7628 from smoogipoo/fix-screenshot-cursor-hide
Fix cursor not hiding for screenshots
This commit is contained in:
commit
985443a193
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user