mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-04 13:38:21 +00:00
rlottie: fix the issue with trim(start,end) update when offset is -ve.
This commit is contained in:
parent
5056b34db8
commit
4af06dc09c
@ -786,8 +786,8 @@ public:
|
|||||||
} else if (start < 0 && end < 0) {
|
} else if (start < 0 && end < 0) {
|
||||||
return noloop(-start, -end);
|
return noloop(-start, -end);
|
||||||
} else {
|
} else {
|
||||||
if (start < 0) return loop(-start, end);
|
if (start < 0) return loop(1 + start, end);
|
||||||
else return loop(start , -end);
|
else return loop(start , 1 + end);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user