mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 03:18:06 +08:00
Fix transform logic for mask node (#1134)
Fix transform logic for mask node + other fixes * Fixes the transform logic for the mask node reverting the breakage introduced by the color pr * Actually modifies the pixel values * Fix storage format for images * Export images as unassociated alpha
This commit is contained in:
@@ -57,7 +57,7 @@ impl Alpha for Color {
|
||||
fn alpha(&self) -> f32 {
|
||||
self.alpha
|
||||
}
|
||||
fn multiply_alpha(&self, alpha: Self::AlphaChannel) -> Self {
|
||||
fn multiplied_alpha(&self, alpha: Self::AlphaChannel) -> Self {
|
||||
Self {
|
||||
red: self.red * alpha,
|
||||
green: self.green * alpha,
|
||||
|
||||
Reference in New Issue
Block a user