Fix indent
This commit is contained in:
parent
7f82809997
commit
9f14f594de
@ -582,11 +582,11 @@ var TreeStyleTabWindowHelper = {
|
|||||||
if (!scrollbox.__treestyletab__ensureElementIsVisible) {
|
if (!scrollbox.__treestyletab__ensureElementIsVisible) {
|
||||||
scrollbox.__treestyletab__ensureElementIsVisible = scrollbox.ensureElementIsVisible;
|
scrollbox.__treestyletab__ensureElementIsVisible = scrollbox.ensureElementIsVisible;
|
||||||
scrollbox.ensureElementIsVisible = function(...aArgs) {
|
scrollbox.ensureElementIsVisible = function(...aArgs) {
|
||||||
if (b.treeStyleTab.shouldCancelEnsureElementIsVisible())
|
if (b.treeStyleTab.shouldCancelEnsureElementIsVisible())
|
||||||
return;
|
return;
|
||||||
let shouldScrollNow = aArgs[1] === false;
|
let shouldScrollNow = aArgs[1] === false;
|
||||||
if (b.treeStyleTab.animationEnabled && !shouldScrollNow)
|
if (b.treeStyleTab.animationEnabled && !shouldScrollNow)
|
||||||
return b.treeStyleTab.scrollToTab(aArgs[0]);
|
return b.treeStyleTab.scrollToTab(aArgs[0]);
|
||||||
this.__treestyletab__ensureElementIsVisible.apply(this, aArgs);
|
this.__treestyletab__ensureElementIsVisible.apply(this, aArgs);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user