Fix blank gif avatars #6060

Merged
infinite-persistence merged 1 commit from ip/blank-gif-avatar into master 2021-05-14 17:00:08 +02:00
infinite-persistence commented 2021-05-13 04:31:30 +02:00 (Migrated from github.com)

Issue

Closes #6010: hyperchat send display issues with GIF profiles

The FreezeFrameWrapper have no src to freeze due to the lazy loading.

Fix

Delay the freezing by making the lazy-load effect return a state to indicate when then src has been loaded.

Since the lazy-loader will unobserve after loading, the state should/will never go back to false, so we don't need to handle the case of preventing new FreezeFrameWrapper from being called multiple times from it's effect.

## Issue Closes #6010: `hyperchat send display issues with GIF profiles` The `FreezeFrameWrapper` have no `src` to freeze due to the lazy loading. ## Fix Delay the freezing by making the lazy-load effect return a state to indicate when then `src` has been loaded. Since the lazy-loader will `unobserve` after loading, the state should/will never go back to false, so we don't need to handle the case of preventing `new FreezeFrameWrapper` from being called multiple times from it's effect.
tzarebczan (Migrated from github.com) reviewed 2021-05-13 04:31:30 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#6060
No description provided.