mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00: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
213e712dd7
commit
2572d29eb7
@ -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