fix: 500px/1000px 모드 2차 수정
This commit is contained in:
1 parent
33d9eb4c6d
commit
1b1fcebeed
1 file changed
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user