Fix components not rebuilding content on theme change

This commit is contained in:
Mario Zechner 2026-01-09 00:40:57 +01:00
parent 36fbce85c2
commit 45a6c394ca
7 changed files with 39 additions and 0 deletions

View file

@ -219,6 +219,11 @@ export class ToolExecutionComponent extends Container {
this.updateDisplay();
}
override invalidate(): void {
super.invalidate();
this.updateDisplay();
}
private updateDisplay(): void {
// Set background based on state
const bgFn = this.isPartial