aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-26 22:07:52 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-26 22:07:52 -0700
commitc8d13360d76116236ee9f476db8840b455930163 (patch)
tree7f680a0f350ba529ec6d2bcb27f70df34e1039ef /src
parent00d476a0e51629f06407aed035fbc001d3f6b114 (diff)
fix: reveal MV images earlierHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/components/MVPlayer/index.tsx5
-rw-r--r--src/pages/DailyPage.tsx1
2 files changed, 2 insertions, 4 deletions
diff --git a/src/components/MVPlayer/index.tsx b/src/components/MVPlayer/index.tsx
index a1141ab..186f6e9 100644
--- a/src/components/MVPlayer/index.tsx
+++ b/src/components/MVPlayer/index.tsx
@@ -9,8 +9,8 @@ interface Props {
const MV_CDN_URL = import.meta.env.VITE_CDN_URL || "";
function getRevealedCount(currentTry: number): number {
- if (currentTry >= 6) return 3;
- if (currentTry >= 3) return 2;
+ if (currentTry >= 5) return 3;
+ if (currentTry >= 2) return 2;
return 1;
}
@@ -70,7 +70,6 @@ export function MVPlayer({ currentTry, date }: Props) {
: "All frames revealed."}
</Styled.Hint>
- {/* Lightbox */}
{activeImage && (
<Styled.Overlay onClick={() => setActiveImage(null)}>
<Styled.LightboxImage
diff --git a/src/pages/DailyPage.tsx b/src/pages/DailyPage.tsx
index 5b39701..dc6ec7a 100644
--- a/src/pages/DailyPage.tsx
+++ b/src/pages/DailyPage.tsx
@@ -18,7 +18,6 @@ export function DailyPage() {
state: undefined,
} as GuessType;
- // --- Stats import logic ---
function reloadWithoutQueryParameters() {
location.replace(location.pathname);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage