mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 17:40:01 +00:00
Linux: Now we can get the image size from the native clipboard
This commit is contained in:
parent
665d481a53
commit
e6e74977c9
@ -596,11 +596,9 @@ void paste()
|
||||
|
||||
bool get_image_size(gfx::Size& size)
|
||||
{
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
if (use_native_clipboard() &&
|
||||
get_native_clipboard_bitmap_size(&size))
|
||||
return true;
|
||||
#endif
|
||||
|
||||
if (clipboard_image) {
|
||||
size.w = clipboard_image->width();
|
||||
|
2
src/clip
2
src/clip
@ -1 +1 @@
|
||||
Subproject commit 148a82e602e0c4f4e93685413b91218acf84df14
|
||||
Subproject commit 964a64adef6de28664c8c15b97cbcb1624dcb6fc
|
Loading…
Reference in New Issue
Block a user