From 6ddeed82c06d2c16e76e75e5f3e33e1ed33c9324 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 16 Dec 2021 02:36:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20500px/1000px=20=EB=AA=A8=EB=93=9C=202?= =?UTF-8?q?=EC=B0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/util/auto500px.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hwe/ts/util/auto500px.ts b/hwe/ts/util/auto500px.ts index 63588725..2e9cdde1 100644 --- a/hwe/ts/util/auto500px.ts +++ b/hwe/ts/util/auto500px.ts @@ -48,6 +48,11 @@ export function auto500px(targetHeight = 700): void { return; } + if(oldMode != 'auto'){ + oldMode = 'auto'; + adjustViewportWidth(); + return; + } deviceWidth = window.screen.availWidth; const innerHeight = window.innerHeight; const selectorHeight = targetHeight;