Browse Source

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

tags/2021-05-28
ed 6 years ago
parent
commit
a529fbbf47
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      modules/juce_gui_basics/buttons/juce_DrawableButton.cpp

+ 1
- 5
modules/juce_gui_basics/buttons/juce_DrawableButton.cpp 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;


Loading…
Cancel
Save