Zhell
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
Yeah I'm not much help, sorry. My only ideas would be to, somehow, cause the replaced HTML element to fade out in its current position instead of just being fully replaced (in
_replaceHTML
), or duplicate it, re-insert it, and manually fade it out and remove it in _syncPartState
.170 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
I wonder if overriding
HandlebarsApplicationMixin#_replaceHTML
is helpful170 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
I think that is PIXI, not animated html tho.
170 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
Ah, so for example two sheets and the old fades out, the new fades in, all at the same time
170 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
I'll scroll up and get a better idea but what does cross-fade mean in this context?
170 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
But I did not look too closely at the sheet in question here. 🙂
170 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
I would fade out -> submit (causes re-render) -> fade in on render
170 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Eon on 4/15/2025 in #development
@Eunomiac Sooo I finally got around to
AppV2 has two methods for sync'ing rendered PARTS, mainly used to store input focus and scroll positions. I've used it successfully to animate health bars and fade in and out various elements across re-renders.
170 replies