mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 18:47:38 +00:00
quartz dnd: fix drag icon position relative to cursor position
The y axis is reversed on osx
This commit is contained in:
parent
2c329f5b3a
commit
5003b5873a
@ -1170,7 +1170,7 @@ gtk_drag_begin_idle (gpointer arg)
|
||||
}
|
||||
|
||||
point.x -= info->hot_x;
|
||||
point.y -= info->hot_y;
|
||||
point.y -= [drag_image size].height - info->hot_y;
|
||||
|
||||
[nswindow dragImage:drag_image
|
||||
at:point
|
||||
|
Loading…
Reference in New Issue
Block a user