Scrolling Texts are now queued with a 600ms delay (#989)

This commit is contained in:
WBHarry 2025-08-18 03:52:20 +02:00 committed by GitHub
parent 8c84edddad
commit 5cd5de31aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 43 additions and 25 deletions

View file

@ -221,6 +221,8 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
super._onUpdate(changed, options, userId);
updateLinkedItemApps(options, this.parent.sheet);
createScrollText(this.parent?.parent, options.scrollingTextData);
if (this.parent?.parent && options.scrollingTextData)
this.parent.parent.queueScrollText(options.scrollingTextData);
}
}