Scroll to opened tab group after expanding animation is finished
This commit is contained in:
parent
d2d68a6437
commit
a22337abde
@ -270,11 +270,9 @@ var TreeStyleTabBookmarksService = inherit(TreeStyleTabService, {
|
|||||||
' if (!TSTTreeStructureApplied)\n' +
|
' if (!TSTTreeStructureApplied)\n' +
|
||||||
' browserWindow.TreeStyleTabService.applyTreeStructureToTabs(tabs, TSTTreeStructure, TSTOpenGroupBookmarkBehavior & browserWindow.TreeStyleTabBookmarksService.kGROUP_BOOKMARK_EXPAND_ALL_TREE);\n' +
|
' browserWindow.TreeStyleTabService.applyTreeStructureToTabs(tabs, TSTTreeStructure, TSTOpenGroupBookmarkBehavior & browserWindow.TreeStyleTabBookmarksService.kGROUP_BOOKMARK_EXPAND_ALL_TREE);\n' +
|
||||||
' if (!loadInBackground) {\n' +
|
' if (!loadInBackground) {\n' +
|
||||||
' browserWindow.setTimeout(function() { // do after TabSelect\n' +
|
' browserWindow.setTimeout(function() {\n' +
|
||||||
' browserWindow.setTimeout(function() { // do after TabOpen handler\n' +
|
' browserWindow.gBrowser.treeStyleTab.scrollToTabs(tabs);\n' +
|
||||||
' browserWindow.gBrowser.treeStyleTab.scrollToTabs(tabs);\n' +
|
' }, browserWindow.gBrowser.treeStyleTab.collapseDuration); // start scroll after expanding animation is finished\n' +
|
||||||
' }, 0);\n' +
|
|
||||||
' }, 0);\n' +
|
|
||||||
' }\n' +
|
' }\n' +
|
||||||
' }\n' +
|
' }\n' +
|
||||||
'$1'
|
'$1'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user