Fix mStaticImage to use setResize

This commit is contained in:
Tomas Jakobsson 2018-02-01 22:14:54 +01:00
parent bb678eecd1
commit e52e63cf9c

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();
}