retrohub-org / default-theme

Default theme for RetroHub
MIT License
0 stars 0 forks source link

Fix achievement icon loading not being lazy #78

Closed rsubtil closed 4 months ago

rsubtil commented 4 months ago

Due to how nodes are instantiated and reordered by the parent container, all nodes were at position "0", thus they all loaded icons in the beginning. This fixes it by deferring that step to a later stage where nodes are positioned properly.>

The logic for detecting media unloads on the upper side was also broken, and this fixes the math for that as well.