mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Fix exclusion being applied as union (wasm)
This commit is contained in:
parent
884cdbbf8d
commit
405fd49d79
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user