mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Follow the scroll direction in swipe gestures.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -476,8 +476,8 @@ void PaintRow(
|
||||
&& !context.quickActionContext->ripple
|
||||
&& (history->peer->id.value
|
||||
== context.quickActionContext->data.msgBareId)) {
|
||||
swipeTranslation = context.quickActionContext->data.exactTranslation
|
||||
* -2;
|
||||
swipeTranslation
|
||||
= context.quickActionContext->data.visualExactTranslation() * -2;
|
||||
}
|
||||
if (swipeTranslation) {
|
||||
p.translate(-swipeTranslation, 0);
|
||||
|
||||
Reference in New Issue
Block a user