mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 786406 - Move the tab drag image away from the cursor to prevent it from obscuring the dragged tab. r=jaws
This commit is contained in:
parent
7498d6261e
commit
64acf67249
@ -3565,7 +3565,7 @@
|
||||
canvas.width = 160;
|
||||
canvas.height = 90;
|
||||
PageThumbs.captureToCanvas(browser.contentWindow, canvas);
|
||||
dt.setDragImage(canvas, 0, 0);
|
||||
dt.setDragImage(canvas, -16, -16);
|
||||
|
||||
// _dragData.offsetX/Y give the coordinates that the mouse should be
|
||||
// positioned relative to the corner of the new window created upon
|
||||
|
Loading…
Reference in New Issue
Block a user