decorations: Decoration Positioner (#3800)
This commit is contained in:
parent
7345b1a1ea
commit
9be6fbf5ea
27 changed files with 610 additions and 266 deletions
|
|
@ -39,7 +39,7 @@ struct SWindowDecorationExtents {
|
|||
return SWindowDecorationExtents{topLeft * scale, bottomRight * scale};
|
||||
}
|
||||
|
||||
SWindowDecorationExtents floor() {
|
||||
return {topLeft.floor(), bottomRight.floor()};
|
||||
SWindowDecorationExtents round() {
|
||||
return {topLeft.round(), bottomRight.round()};
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue