v0.4.0 More control over updates, bugfixes
Added
GlassmorphicUI.forceUpdate
to perform an immediate and total refresh, useful for when background changes like teleporting location or closing a menuGlassmorphicUI.pauseUpdates
to pause updating glass that doesn't need to recalculate, like over a static backgroundGlassmorphicUI.resumeUpdates
to resume glass that was paused
Changed
- Glass will now
forceUpdate
upon initialization, so that glass doesn't look wrong for the first second or two- This makes creation more expensive, so don't constantly create and destroy glass. Reuse glass when possible.
Fixed
- Fixed interlacing accidentally doing the same channel twice in a row upon initialization
- Fixed glass going nearly black when at a very wide aspect ratio
- Fixed glass not updating at all if frame budget was expected to overflow
- Fixed glass not cleaning up when tag got removed from ImageLabel
Full Changelog: v0.3.2...v0.4.0