From 433c77261ff6d9cfabd02e16c043a3dc4326ee2e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 7 Nov 2021 22:22:34 +0100 Subject: [PATCH] Fixed a small issue with the sizing of the badges. --- es-core/src/components/FlexboxComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/FlexboxComponent.cpp b/es-core/src/components/FlexboxComponent.cpp index 3b9fe9a0d..4d2998c1d 100644 --- a/es-core/src/components/FlexboxComponent.cpp +++ b/es-core/src/components/FlexboxComponent.cpp @@ -231,7 +231,7 @@ void FlexboxComponent::computeLayout() } // This rasterizes the SVG images so they look nice and smooth. - item.baseImage.setResize(item.baseImage.getSize()); + item.baseImage.setResize(glm::ceil(item.baseImage.getSize())); itemsOnLastRow++; pos++;