mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 343554 - Tab reordering shortcuts can move tabs offscreen. r=mconnor.
This commit is contained in:
parent
9cec3bb0b9
commit
5be50314ca
@ -1821,6 +1821,7 @@
|
||||
this.mTabContainer.childNodes[i]._tPos = i;
|
||||
}
|
||||
this.mCurrentTab.selected = true;
|
||||
this.mTabContainer.mTabstrip.scrollBoxObject.ensureElementIsVisible(this.mCurrentTab);
|
||||
|
||||
var evt = document.createEvent("UIEvents");
|
||||
evt.initUIEvent("TabMove", true, false, window, oldPosition);
|
||||
|
Loading…
Reference in New Issue
Block a user