mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Bug 786291 - Dragging a pinned tab is jerky when the tab strip overflows. r=jaws
This commit is contained in:
parent
fc58213871
commit
6d7a144ec0
@ -3110,7 +3110,7 @@
|
||||
tab.style.MozMarginStart = - (width + scrollButtonWidth + paddingStart) + "px";
|
||||
}
|
||||
|
||||
this.style.MozMarginStart = width + paddingStart + "px";
|
||||
this.style.MozPaddingStart = width + paddingStart + "px";
|
||||
|
||||
} else {
|
||||
this.removeAttribute("positionpinnedtabs");
|
||||
@ -3120,7 +3120,7 @@
|
||||
tab.style.MozMarginStart = "";
|
||||
}
|
||||
|
||||
this.style.MozMarginStart = "";
|
||||
this.style.MozPaddingStart = "";
|
||||
}
|
||||
|
||||
this.mTabstrip.ensureElementIsVisible(this.selectedItem, false);
|
||||
|
Loading…
Reference in New Issue
Block a user