From 9be6fbf5eae8c4b902b818881a4dc34f87bb630d Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sat, 11 Nov 2023 14:37:17 +0000 Subject: decorations: Decoration Positioner (#3800) --- src/SharedDefs.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SharedDefs.hpp') diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp index fb99caaa..4e4217d2 100644 --- a/src/SharedDefs.hpp +++ b/src/SharedDefs.hpp @@ -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()}; } }; \ No newline at end of file -- cgit v1.2.3