Closed cosmicvarion closed 4 years ago
Here my small workaround:
let trimmerView: TrimmerView = {
let trimmer = TrimmerView()
trimmer.layer.cornerRadius = 3 //2 should actually suffice but there was still a tiny bit visible so I set it to 3
trimmer.layer.masksToBounds = true
return trimmer
}()
Solved, thanks @blurtime for your PR !
The TrimmerView corners are square whereas the start/end handle corners are rounded. So, with a non-white background and non-white handles, points of white are visible from the underlying bar at the corners of the handles.