mirror of
https://github.com/penpot/penpot.git
synced 2026-03-30 08:10:30 +02:00
Merge pull request #8729 from penpot/ladybenko-13773-fix-exlusion
🐛 Fix exclusion being applied as union (wasm)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user