fix: 500px/1000px 모드 2차 수정
This commit is contained in:
@@ -48,6 +48,11 @@ export function auto500px(targetHeight = 700): void {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(oldMode != 'auto'){
|
||||||
|
oldMode = 'auto';
|
||||||
|
adjustViewportWidth();
|
||||||
|
return;
|
||||||
|
}
|
||||||
deviceWidth = window.screen.availWidth;
|
deviceWidth = window.screen.availWidth;
|
||||||
const innerHeight = window.innerHeight;
|
const innerHeight = window.innerHeight;
|
||||||
const selectorHeight = targetHeight;
|
const selectorHeight = targetHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user