Fixed a small issue with the sizing of the badges.

This commit is contained in:
Leon Styhre 2021-11-07 22:22:34 +01:00
parent c136f87a9f
commit 433c77261f

View file

@ -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++;