fix: 500px/1000px 모드 2차 수정

This commit is contained in:
2021-12-16 02:36:50 +09:00
parent ffc8242aae
commit 6ddeed82c0
+5
View File
@@ -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;