mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-22 06:41:08 +00:00
Fix brush icon scale for brush size button when guiscale is greater than 1
This commit is contained in:
parent
c900327675
commit
598e50be1d
@ -493,6 +493,8 @@ os::SurfaceRef BrushPopup::createSurfaceForBrush(const BrushRef& origBrush,
|
|||||||
|
|
||||||
if (image->pixelFormat() == IMAGE_BITMAP)
|
if (image->pixelFormat() == IMAGE_BITMAP)
|
||||||
delete palette;
|
delete palette;
|
||||||
|
|
||||||
|
surface->applyScale(guiscale());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
surface->clear();
|
surface->clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user