mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Clip video message scrubber to corners
This commit is contained in:
parent
3ce28d1d18
commit
7cc9d32e49
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user