fix: use LOGICAL_WIDTH,HEIGHT instead of SCREEN_WIDTH,HEIGHT beucase screen is scaled

This commit is contained in:
2026-01-14 16:13:44 +01:00
parent 0a8017e34e
commit 5dd43c7814
8 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ export const useContactStore = defineStore("contact", {
stage2Opacity: 0,
stage3Opacity: 0,
titleY: SCREEN_HEIGHT,
titleY: LOGICAL_HEIGHT,
barOffsetY: 20,
},
@@ -35,11 +35,11 @@ export const useContactStore = defineStore("contact", {
this.intro,
{
stage1Opacity: 0,
titleY: SCREEN_HEIGHT,
titleY: LOGICAL_HEIGHT,
},
{
stage1Opacity: 1,
titleY: SCREEN_HEIGHT - 23,
titleY: LOGICAL_HEIGHT - 23,
duration: 0.1,
ease: "none",
},