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:
commit
c287b169f1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user