mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-10 06:38:11 +02:00
Scrolling Texts are now queued with a 600ms delay
This commit is contained in:
parent
16591cd327
commit
3278d24efd
4 changed files with 43 additions and 25 deletions
|
|
@ -207,6 +207,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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue