mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Fix build with MSVC.
This commit is contained in:
parent
4430bd0328
commit
1f4a8d7eb6
1 changed files with 1 additions and 1 deletions
|
@ -48,9 +48,9 @@ void SetupSwipeHandler(
|
|||
update({
|
||||
.ratio = std::clamp(ratio, 0., 1.5),
|
||||
.reachRatio = state->animationReach.value(0.),
|
||||
.msgBareId = state->finishByTopData.msgBareId,
|
||||
.translation = int(
|
||||
base::SafeRound(-std::clamp(ratio, 0., 1.5) * threshold)),
|
||||
.msgBareId = state->finishByTopData.msgBareId,
|
||||
.cursorTop = state->cursorTop,
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue