Fix brush icon scale for brush size button when guiscale is greater than 1

This commit is contained in:
Martín Capello 2022-11-30 16:29:44 -03:00 committed by David Capello
parent c900327675
commit 598e50be1d

View File

@ -493,6 +493,8 @@ os::SurfaceRef BrushPopup::createSurfaceForBrush(const BrushRef& origBrush,
if (image->pixelFormat() == IMAGE_BITMAP)
delete palette;
surface->applyScale(guiscale());
}
else {
surface->clear();