mirror of
https://github.com/danog/Telegram.git
synced 2024-12-05 21:39:04 +01:00
28 lines
623 B
Mathematica
28 lines
623 B
Mathematica
|
/*
|
||
|
* This is the source code of Telegram for iOS v. 1.1
|
||
|
* It is licensed under GNU GPL v. 2 or later.
|
||
|
* You should have received a copy of the license in this archive (see LICENSE).
|
||
|
*
|
||
|
* Copyright Peter Iakovlev, 2013.
|
||
|
*/
|
||
|
|
||
|
#import "TGRTLScreenEdgePanGestureRecognizer.h"
|
||
|
|
||
|
@implementation TGRTLScreenEdgePanGestureRecognizer
|
||
|
|
||
|
- (CGPoint)translationInView:(UIView *)view
|
||
|
{
|
||
|
CGPoint result = [super translationInView:view];
|
||
|
result.x = -result.x;
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
- (CGPoint)velocityInView:(UIView *)view
|
||
|
{
|
||
|
CGPoint result = [super velocityInView:view];
|
||
|
result.x = -result.x;
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
@end
|