mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
Fix the abnormal display issue after calling view.setOrientation. (#16678)
Co-authored-by: 清和晚风 <ryan2509@qq.com>
This commit is contained in:
@@ -141,6 +141,7 @@ class ScreenAdapter extends EventTarget {
|
||||
}
|
||||
this._orientation = value;
|
||||
this._updateFrameState();
|
||||
this._resizeFrame();
|
||||
}
|
||||
|
||||
public get safeAreaEdge (): SafeAreaEdge {
|
||||
|
||||
Reference in New Issue
Block a user