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

This commit is contained in:
2021-12-16 02:36:50 +09:00
parent 33d9eb4c6d
commit 1b1fcebeed
+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;