mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-07 10:54:10 +00:00
Clear the stale bitmap signature when preserving an internal copy
This commit is contained in:
1 parent
6e5f02c014
commit
072a87e7b0
1 file changed
+1
@@ -121,6 +121,7 @@ impl PhotocraftApp {
|
||||
let image = image.filter(|(w, h, bytes)| *w > 0 && *h > 0 && bytes.len() == *w as usize * *h as usize * 4);
|
||||
let Some((w, h, bytes)) = image else {
|
||||
if self.clip_unmirrored && !self.clip_external && self.session.clipboard.is_some() {
|
||||
self.os_clip_sig = None;
|
||||
return Ok(false);
|
||||
}
|
||||
self.os_clip_svg = None;
|
||||
|
||||
Reference in new issue
Block a user