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:
Dão Gottwald 2012-08-30 07:50:46 +02:00
parent 7498d6261e
commit 64acf67249

View File

@ -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