fix: image shimmer bug
if the same image on two seperate columns unblur at the same time, it caused them both to continually cycle between blurred and unblurred Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -89,7 +89,7 @@ impl TexturesCache {
|
|||||||
|
|
||||||
entry.replace_entry_with(|_, v| {
|
entry.replace_entry_with(|_, v| {
|
||||||
let TextureStateInternal::Loading(textured) = v else {
|
let TextureStateInternal::Loading(textured) = v else {
|
||||||
return None;
|
return Some(v);
|
||||||
};
|
};
|
||||||
|
|
||||||
Some(TextureStateInternal::Loaded(textured))
|
Some(TextureStateInternal::Loaded(textured))
|
||||||
|
|||||||
Reference in New Issue
Block a user