mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Issue #1925 - Rewrite NS_FOR_CSS_CORNERS to be similar to *_SIDES
- Renames it to NS_CSS_FULL_CORNERS and uses the one macro for all full corners. In preparation for giving half corners the same treatment. - Swaps to prefix operator++
This commit is contained in:
parent
b3a51c2711
commit
0a7f42b452
4 changed files with 18 additions and 21 deletions
|
|
@ -51,9 +51,6 @@ struct gfxRect :
|
|||
case NS_CORNER_TOP_RIGHT: return TopRight();
|
||||
case NS_CORNER_BOTTOM_RIGHT: return BottomRight();
|
||||
case NS_CORNER_BOTTOM_LEFT: return BottomLeft();
|
||||
default:
|
||||
NS_ERROR("Invalid corner!");
|
||||
break;
|
||||
}
|
||||
return gfxPoint(0.0, 0.0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue