mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 14:52:45 +00:00
fixed #8313 - recover tab icons and colors ealier during start
This commit is contained in:
parent
5075c836f9
commit
a494d9c800
1 changed files with 2 additions and 2 deletions
|
@ -787,7 +787,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit
|
|||
}
|
||||
|
||||
get icon (): string|null {
|
||||
return this.getFocusedTab()?.icon ?? null
|
||||
return this.getFocusedTab()?.icon ?? this.getAllTabs()[0]?.icon ?? null
|
||||
}
|
||||
|
||||
set icon (icon: string|null) {
|
||||
|
@ -797,7 +797,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit
|
|||
}
|
||||
|
||||
get color (): string|null {
|
||||
return this.getFocusedTab()?.color ?? null
|
||||
return this.getFocusedTab()?.color ?? this.getAllTabs()[0]?.color ?? null
|
||||
}
|
||||
|
||||
set color (color: string|null) {
|
||||
|
|
Loading…
Reference in a new issue