Skip to content

Commit

Permalink
fix: BinaryView
Browse files Browse the repository at this point in the history
  • Loading branch information
salam99823 committed Dec 8, 2024
1 parent 9a4eabe commit ae873b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ where
alpha
},
);
Bit::from(channels ^ alpha_exist | alphas)
Bit::from(channels ^ !alpha_exist | alphas)
}
#[inline]
fn get_pixel(&self, x: u32, y: u32) -> Self::Pixel {
Expand Down

0 comments on commit ae873b3

Please sign in to comment.