Prototyping video editor trim feature
I’m having trouble getting this trim feature to work properly. I’m prototyping a video editing feature that allows users to trim down a video clip. A lot of apps do this today but I can’t seem to get this to work properly. Attached is a video of QuickTime’s video trimming feature.
I’ve tried a few different methods with no solution. First I created a drag function on the left grabber. Then added a move response to the grabber and a scale response to the window. That didn’t work as I couldn’t just scale the window in one direction.
My second attempt was to create a group with auto layout applied. This works in theory and seems to be a better option but I couldn’t get it to function properly. Scaling the frame works as expected but when I add a scale functionality to the drag trigger, the window doesn’t scale as expected.
Has anyone created this? Anyone think they can quickly mock up an example? I thought this would be pretty easy but I’m stumped. @Darren Bennett thoughts?