Pull in the updates from video delegate to image delegate to improve sizing behaviour.

This commit is contained in:
James Graham
2023-02-02 19:28:49 +00:00
parent 532310d739
commit b901c1bdf2
2 changed files with 29 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ TimelineContainer {
}
}
property var videoHeight: {
if (videoDelegate.info && videoDelegate.info.w && videoDelegate.info.h > 0) {
if (videoDelegate.info && videoDelegate.info.h && videoDelegate.info.h > 0) {
return videoDelegate.info.h;
} else if (metaData.resolution && metaData.resolution.height) {
return metaData.resolution.height;