mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Merge pull request #16907 from uzervlad/copy-screenshots
Copy screenshots to clipboard
This commit is contained in:
commit
c287b169f1
@ -112,6 +112,8 @@ namespace osu.Game.Graphics
|
||||
if (Interlocked.Decrement(ref screenShotTasks) == 0 && cursorVisibility.Value == false)
|
||||
cursorVisibility.Value = true;
|
||||
|
||||
host.GetClipboard()?.SetImage(image);
|
||||
|
||||
string filename = getFilename();
|
||||
|
||||
if (filename == null) return;
|
||||
|
Loading…
Reference in New Issue
Block a user