From db7777a8dde0926334508fab6fd13013884f9ca1 Mon Sep 17 00:00:00 2001 From: aojunhao123 <1844749591@qq.com> Date: Thu, 17 Apr 2025 10:39:05 +0800 Subject: [PATCH 1/2] fix: progressNode position in rtl mode --- src/Preview/Footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Preview/Footer.tsx b/src/Preview/Footer.tsx index f93e66d5..37bb55bc 100644 --- a/src/Preview/Footer.tsx +++ b/src/Preview/Footer.tsx @@ -86,7 +86,7 @@ export default function Footer(props: FooterProps) { // >>>>> Progress const progressNode = showProgress && (
- {countRender ? countRender(current + 1, count) : `${current + 1} / ${count}`} + {countRender ? countRender(current + 1, count) : `${current + 1} / ${count}`}
); From d165f79d172915bc078028dbb3fe4c67a036d02a Mon Sep 17 00:00:00 2001 From: aojunhao123 <1844749591@qq.com> Date: Thu, 17 Apr 2025 14:40:10 +0800 Subject: [PATCH 2/2] update --- src/Preview/Footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Preview/Footer.tsx b/src/Preview/Footer.tsx index 37bb55bc..de08f3ee 100644 --- a/src/Preview/Footer.tsx +++ b/src/Preview/Footer.tsx @@ -86,7 +86,7 @@ export default function Footer(props: FooterProps) { // >>>>> Progress const progressNode = showProgress && (
- {countRender ? countRender(current + 1, count) : `${current + 1} / ${count}`} + {countRender ? countRender(current + 1, count) : {`${current + 1} / ${count}`}}
);