mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Rename FillRule variants to follow the same rules as other enums
This commit is contained in:
parent
bac8781cc7
commit
09e304adb3
3 changed files with 6 additions and 6 deletions
|
@ -707,9 +707,9 @@ pub mod basic_shape {
|
|||
}
|
||||
StyleBasicShapeType::Polygon => {
|
||||
let fill_rule = if other.mFillRule == StyleFillRule::Evenodd {
|
||||
FillRule::EvenOdd
|
||||
FillRule::Evenodd
|
||||
} else {
|
||||
FillRule::NonZero
|
||||
FillRule::Nonzero
|
||||
};
|
||||
let mut coords = Vec::with_capacity(other.mCoordinates.len() / 2);
|
||||
for i in 0..(other.mCoordinates.len() / 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue