commit a5e7880e255ce9df41459c74931bbaebbf6d1bbf
parent 28634301b858f0e605d2a5f93556e7e76215e9eb
Author: kernelkind <kernelkind@gmail.com>
Date: Tue, 9 Sep 2025 19:20:42 -0400
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>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/notedeck/src/imgcache.rs b/crates/notedeck/src/imgcache.rs
@@ -89,7 +89,7 @@ impl TexturesCache {
entry.replace_entry_with(|_, v| {
let TextureStateInternal::Loading(textured) = v else {
- return None;
+ return Some(v);
};
Some(TextureStateInternal::Loaded(textured))