Skip to content

Commit

Permalink
renamed beginIndex to startIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
jonah-iden authored and vince-fugnitto committed Apr 27, 2023
1 parent 909aa52 commit b0fff47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-ext/src/main/browser/tabs/tabs-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ export class TabsMainImpl implements TabsMain, Disposable {
return;
}

updateTabIndices(tabInfo: TabInfo, beginIndex: number): void {
updateTabIndices(tabInfo: TabInfo, startIndex: number): void {
for (const tab of this.tabInfoLookup.values()) {
if (tab.group === tabInfo.group && tab.tabIndex >= beginIndex) {
if (tab.group === tabInfo.group && tab.tabIndex >= startIndex) {
tab.tabIndex = tab.group.tabs.indexOf(tab.tab);
}
}
Expand Down

0 comments on commit b0fff47

Please sign in to comment.