1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Don't reset Drawable's AffineTransform when using DrawableButton::ButtonStyle::ImageRaw

This commit is contained in:
ed 2019-07-04 10:09:30 +01:00
parent 302e4a6166
commit a529fbbf47

View file

@ -118,11 +118,7 @@ void DrawableButton::resized()
if (currentImage != nullptr)
{
if (style == ImageRaw)
{
currentImage->setOriginWithOriginalSize (Point<float>());
}
else
if (style != ImageRaw)
{
int transformFlags = 0;