fixed #8313 - recover tab icons and colors ealier during start

This commit is contained in:
Eugene Pankov 2023-05-15 23:09:13 +02:00
parent 5075c836f9
commit a494d9c800
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -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) {