mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Clip video message scrubber to corners
This commit is contained in:
parent
3ce28d1d18
commit
7cc9d32e49
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue