mirror of
https://github.com/penpot/penpot.git
synced 2026-08-07 05:18:36 +00:00
Merge pull request #8729 from penpot/ladybenko-13773-fix-exlusion
🐛 Fix exclusion being applied as union (wasm)
This commit is contained in:
commit
7afcd46e5c
@ -18,7 +18,7 @@ pub enum RawBoolType {
|
|||||||
Union = 0,
|
Union = 0,
|
||||||
Difference = 1,
|
Difference = 1,
|
||||||
Intersection = 2,
|
Intersection = 2,
|
||||||
Exclusion = 3,
|
Exclude = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<u8> for RawBoolType {
|
impl From<u8> for RawBoolType {
|
||||||
@ -33,7 +33,7 @@ impl From<RawBoolType> for BoolType {
|
|||||||
RawBoolType::Union => BoolType::Union,
|
RawBoolType::Union => BoolType::Union,
|
||||||
RawBoolType::Difference => BoolType::Difference,
|
RawBoolType::Difference => BoolType::Difference,
|
||||||
RawBoolType::Intersection => BoolType::Intersection,
|
RawBoolType::Intersection => BoolType::Intersection,
|
||||||
RawBoolType::Exclusion => BoolType::Exclusion,
|
RawBoolType::Exclude => BoolType::Exclusion,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user