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