diff --git a/submodules/LegacyComponents/Sources/TGVideoMessageScrubber.m b/submodules/LegacyComponents/Sources/TGVideoMessageScrubber.m index fb0efcbba8..66a0dd2036 100644 --- a/submodules/LegacyComponents/Sources/TGVideoMessageScrubber.m +++ b/submodules/LegacyComponents/Sources/TGVideoMessageScrubber.m @@ -70,6 +70,9 @@ typedef enum if (self != nil) { _allowsTrimming = true; + + self.clipsToBounds = true; + self.layer.cornerRadius = 16.0f; _wrapperView = [[UIControl alloc] initWithFrame:CGRectMake(0, 0, 0, 33)]; _wrapperView.hitTestEdgeInsets = UIEdgeInsetsMake(-5, -10, -5, -10);