mirror of
https://github.com/mathuo/dockview
synced 2025-05-02 01:28:28 +00:00
feat: only update text content if required
This commit is contained in:
parent
48a1cc9693
commit
a7b05cf1a8
@ -104,6 +104,8 @@ export class DefaultTab extends CompositeDisposable implements ITabRenderer {
|
||||
}
|
||||
|
||||
private render() {
|
||||
this._content.textContent = this.params.title;
|
||||
if (this._content.textContent !== this.params.title) {
|
||||
this._content.textContent = this.params.title;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user