From 1fd87bd2e46eb50f718f95f94d844fe694e43a53 Mon Sep 17 00:00:00 2001
From: syuilo <4439005+syuilo@users.noreply.github.com>
Date: Thu, 20 Mar 2025 20:28:16 +0900
Subject: [PATCH] fix(frontend): prevent transition glitch of MkHorizontalSwipe
---
.../src/components/MkHorizontalSwipe.vue | 6 +--
packages/frontend/src/pages/channel.vue | 8 +--
packages/frontend/src/pages/channels.vue | 10 ++--
packages/frontend/src/pages/drive.file.vue | 4 +-
packages/frontend/src/pages/explore.vue | 6 +--
.../frontend/src/pages/flash/flash-index.vue | 6 +--
.../frontend/src/pages/follow-requests.vue | 52 +++++++++----------
packages/frontend/src/pages/gallery/index.vue | 6 +--
packages/frontend/src/pages/instance-info.vue | 12 ++---
.../frontend/src/pages/my-clips/index.vue | 4 +-
packages/frontend/src/pages/notifications.vue | 8 +--
packages/frontend/src/pages/pages.vue | 6 +--
packages/frontend/src/pages/search.vue | 4 +-
packages/frontend/src/pages/timeline.vue | 4 +-
packages/frontend/src/pages/user/index.vue | 24 ++++-----
15 files changed, 79 insertions(+), 81 deletions(-)
diff --git a/packages/frontend/src/components/MkHorizontalSwipe.vue b/packages/frontend/src/components/MkHorizontalSwipe.vue
index 849136eb8f..bc63bef0b6 100644
--- a/packages/frontend/src/components/MkHorizontalSwipe.vue
+++ b/packages/frontend/src/components/MkHorizontalSwipe.vue
@@ -19,9 +19,9 @@ SPDX-License-Identifier: AGPL-3.0-only
:leaveToClass="transitionName === 'swipeAnimationLeft' ? $style.swipeAnimationLeft_leaveTo : $style.swipeAnimationRight_leaveTo"
:style="`--swipe: ${pullDistance}px;`"
>
-
-
-
@{{ acct(displayUser(req)) }}
-@{{ acct(displayUser(req)) }}
+