mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
|
@ -5101,7 +5101,7 @@ fn static_assert() {
|
|||
coord.0.to_gecko_style_coord(&mut shape.mCoordinates[2 * i]);
|
||||
coord.1.to_gecko_style_coord(&mut shape.mCoordinates[2 * i + 1]);
|
||||
}
|
||||
shape.mFillRule = if poly.fill == FillRule::EvenOdd {
|
||||
shape.mFillRule = if poly.fill == FillRule::Evenodd {
|
||||
StyleFillRule::Evenodd
|
||||
} else {
|
||||
StyleFillRule::Nonzero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue