mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-28 08:30:11 +00:00
+ Fixes #60: Drawing direction of arrow.
This commit is contained in:
parent
ecbcc30377
commit
bbcb8d79a0
@ -49,7 +49,7 @@
|
||||
|
||||
CGFloat lineWidth = MAX(self.frame.size.width / 10.0f,10);
|
||||
CGFloat startX, startY, endX, endY;
|
||||
if ( self.movedDelta.width > 0){
|
||||
if ( self.movedDelta.width < 0){
|
||||
startX = CGRectGetMinX(self.bounds);
|
||||
endX = CGRectGetMaxX(self.bounds);
|
||||
} else {
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
}
|
||||
|
||||
if ( self.movedDelta.height > 0){
|
||||
if ( self.movedDelta.height < 0){
|
||||
startY = CGRectGetMinY(self.bounds);
|
||||
endY = CGRectGetMaxY(self.bounds);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user