mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed an issue causing ComponentAnimator ProxyComponent to be blurry when transformed
This commit is contained in:
parent
c74c9394e0
commit
1237b8c831
1 changed files with 2 additions and 1 deletions
|
|
@ -159,7 +159,8 @@ public:
|
|||
else
|
||||
jassertfalse; // seem to be trying to animate a component that's not visible..
|
||||
|
||||
auto scale = (float) Desktop::getInstance().getDisplays().findDisplayForRect (getScreenBounds()).scale;
|
||||
auto scale = (float) Desktop::getInstance().getDisplays().findDisplayForRect (getScreenBounds()).scale
|
||||
* Component::getApproximateScaleFactorForComponent (&c);
|
||||
|
||||
image = c.createComponentSnapshot (c.getLocalBounds(), false, scale);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue