Draft: fixed aspect (kinda) #31
Reference in New Issue
Block a user
Delete Branch "WES-50-Course-Aspect-Fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Changed the UI of the course-screen. The image, video and webcam should all have correct aspect ratios now.
The image and video stay within a predefined box, this behaviour has not been achieved for the webcam yet though.
Testing Instructions
Please provide instructions on how the code reviewers can test your changes:
Not much to test, since it's purely a UI change. You can check the course-scene and decide if it looks acceptable.
Known bugs or issues
The webcam aspect-change is not where I want it to be. It does not stay within a predefined box, meaning it can grow taller or wider than initially wanted.
Checklist
Closes WES-50
added 4 commits
developmentCompare with previous version
requested review from @dvschuyl, @hvbreuge, @louadria, @jeldgees, @lvrossem, and @tihabils
changed the description
Seems to work great!
I tested it on videos with an aspect ratio of 16:9, 9:16, 1:1, and 21:9 and they were all correctly scaled.
approved this merge request
approved this merge request
unapproved this merge request
The videoplayer for the instructions is just a black screen for me
approved this merge request
Looks good to me, don't forget to check the boxes in your description checklist.
marked the checklist item I have filled in this template. as completed
marked the checklist item I have tested my changes thoroughly. as completed
marked the checklist item I have updated the user documentation as necessary. as completed
marked the checklist item Code reviewed by 2 people. as completed
marked this merge request as draft
Since the relevant code here has been used in WES-90, this MR can be deleted.
Pull request closed