mirror of https://github.com/1Panel-dev/1Panel
fix: 解决终端全屏及缩放的菜单显示问题 (#1316)
parent
cd84116a03
commit
e9bdca5279
|
@ -149,9 +149,11 @@ const globalStore = GlobalStore();
|
|||
function toggleFullscreen() {
|
||||
if (screenfull.isEnabled) {
|
||||
screenfull.toggle();
|
||||
globalStore.setScreenFull();
|
||||
}
|
||||
}
|
||||
screenfull.on('change', () => {
|
||||
globalStore.isFullScreen = screenfull.isFullscreen;
|
||||
});
|
||||
|
||||
const localHostID = ref();
|
||||
|
||||
|
|
Loading…
Reference in New Issue