mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 787895 - Indicator for dropping links on the tab strip is misaligned if there are pinned tabs and the tab strip overflows. r=jaws
This commit is contained in:
parent
63f25c4d91
commit
199e65b9d7
@ -3630,7 +3630,7 @@
|
||||
|
||||
var newIndex = this._getDropIndex(event);
|
||||
var scrollRect = tabStrip.scrollClientRect;
|
||||
var rect = this.getBoundingClientRect();
|
||||
var rect = tabStrip.getBoundingClientRect();
|
||||
var minMargin = scrollRect.left - rect.left;
|
||||
var maxMargin = Math.min(minMargin + scrollRect.width,
|
||||
scrollRect.right);
|
||||
|
Loading…
Reference in New Issue
Block a user