Merge pull request #274 from psyke83/noeigen_fix

Implement missed inhouse vector replacements
This commit is contained in:
Jools Wills 2017-10-29 01:21:20 +01:00 committed by GitHub
commit a0ce48aeea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ void VideoPlayerComponent::render(const Transform4x4f& parentTrans)
void VideoPlayerComponent::setResize(float width, float height) void VideoPlayerComponent::setResize(float width, float height)
{ {
setSize(width, height); setSize(width, height);
mTargetSize << width, height; mTargetSize = Vector2f(width, height);
mTargetIsMax = false; mTargetIsMax = false;
mStaticImage.setSize(width, height); mStaticImage.setSize(width, height);
onSizeChanged(); onSizeChanged();
@ -52,7 +52,7 @@ void VideoPlayerComponent::setResize(float width, float height)
void VideoPlayerComponent::setMaxSize(float width, float height) void VideoPlayerComponent::setMaxSize(float width, float height)
{ {
setSize(width, height); setSize(width, height);
mTargetSize << width, height; mTargetSize = Vector2f(width, height);
mTargetIsMax = true; mTargetIsMax = true;
mStaticImage.setMaxSize(width, height); mStaticImage.setMaxSize(width, height);
onSizeChanged(); onSizeChanged();