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:
parent
302e4a6166
commit
a529fbbf47
1 changed files with 1 additions and 5 deletions
|
|
@ -118,11 +118,7 @@ void DrawableButton::resized()
|
|||
|
||||
if (currentImage != nullptr)
|
||||
{
|
||||
if (style == ImageRaw)
|
||||
{
|
||||
currentImage->setOriginWithOriginalSize (Point<float>());
|
||||
}
|
||||
else
|
||||
if (style != ImageRaw)
|
||||
{
|
||||
int transformFlags = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue