mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 17:16:03 +00:00
fixed split tab index - fixes #4249
This commit is contained in:
@@ -420,7 +420,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit
|
||||
newContainer.ratios = [1]
|
||||
target.children.splice(relative ? target.children.indexOf(relative) : -1, 1, newContainer)
|
||||
target = newContainer
|
||||
insertIndex = 0
|
||||
insertIndex = 'tl'.includes(side) ? 0 : 1
|
||||
}
|
||||
|
||||
for (let i = 0; i < target.children.length; i++) {
|
||||
|
Reference in New Issue
Block a user