mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-26 08:38:10 +00:00
Add WIP video style preview dialog (#115)
Co-authored-by: Victor <victor@storyteller.ai>
This commit is contained in:
@@ -392,6 +392,11 @@ export class DialogElement extends LitElement {
|
||||
trigger.addEventListener("click", this.onTriggerClick);
|
||||
}
|
||||
|
||||
if (changes.has("template")) {
|
||||
if (this.#overlayHandle && this.template)
|
||||
this._overlay.reRender(this.#overlayHandle, this.template);
|
||||
}
|
||||
|
||||
super.updated(changes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user