This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Don't reset Drawable's AffineTransform when using DrawableButton::ButtonStyle::ImageRaw
tags/2021-05-28
ed
6 years ago
parent
302e4a6166
commit
a529fbbf47
1 changed files
with
1 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
Write
Preview
Loading…
Cancel
Save