1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 03:22:55 +08:00

Merge pull request #16907 from uzervlad/copy-screenshots

Copy screenshots to clipboard
This commit is contained in:
Dean Herbert 2022-02-18 16:31:33 +09:00 committed by GitHub
commit c287b169f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,8 @@ namespace osu.Game.Graphics
if (Interlocked.Decrement(ref screenShotTasks) == 0 && cursorVisibility.Value == false) if (Interlocked.Decrement(ref screenShotTasks) == 0 && cursorVisibility.Value == false)
cursorVisibility.Value = true; cursorVisibility.Value = true;
host.GetClipboard()?.SetImage(image);
string filename = getFilename(); string filename = getFilename();
if (filename == null) return; if (filename == null) return;