Merge pull request #364 from tomaz82/fix_thumbnails

Fix mStaticImage to use setResize
This commit is contained in:
Jools Wills 2018-02-02 18:38:00 +00:00 committed by GitHub
commit 3adadc9377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ void VideoPlayerComponent::setResize(float width, float height)
setSize(width, height);
mTargetSize = Vector2f(width, height);
mTargetIsMax = false;
mStaticImage.setSize(width, height);
mStaticImage.setResize(width, height);
onSizeChanged();
}