Merge pull request #8729 from penpot/ladybenko-13773-fix-exlusion

🐛 Fix exclusion being applied as union (wasm)
This commit is contained in:
Elena Torró
2026-03-23 16:31:52 +01:00
committed by GitHub

View File

@@ -18,7 +18,7 @@ pub enum RawBoolType {
Union = 0,
Difference = 1,
Intersection = 2,
Exclusion = 3,
Exclude = 3,
}
impl From<u8> for RawBoolType {
@@ -33,7 +33,7 @@ impl From<RawBoolType> for BoolType {
RawBoolType::Union => BoolType::Union,
RawBoolType::Difference => BoolType::Difference,
RawBoolType::Intersection => BoolType::Intersection,
RawBoolType::Exclusion => BoolType::Exclusion,
RawBoolType::Exclude => BoolType::Exclusion,
}
}
}