Closed ChrisJAWerner closed 1 year ago
Hey @ChrisJAWerner let me try to reproduce this with your sample code and get back to you.
OK just tried it inside the example app quick and dirty and can not reproduce the behavior.
Check out https://github.com/dmrschmidt/DSWaveformImage/commit/578a526560050d8818ec4bd486a2c31c2850352b in this branch.
Please run the example app form that branch and see if you get the problematic behavior.
I can have another look if you can provide me with a stripped down example app that I can run in Xcode to debug.
I find stripping down my problem to an example app that has the minimum code to reproduce the issue more often than not also helps me find out what the actual problem is and how I can fix it.
Ah, you're right. I tried cutting just that part out into a separate app and it worked perfectly every time. I should have tried that sooner! I'll figure out what else in my project is mucking with that frame. Thanks!!
Hey there! I'm attempting to do playback progress indication by generating two waveform views and then masking one:
However, sometimes the masked waveform view doesn't line up with the unmasked one.
I've used a view inspector to verify that both views have the exact same frame, but sometimes the blue one is misaligned to the left, sometimes to the right, and sometimes correctly. Any advice would be most appreciated! Thanks!