mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-10 23:47:39 +08:00
fix: 解决终端字体大小变化时内容显示不全的问题 (#1572)
This commit is contained in:
parent
afcebb46a0
commit
044bb79ae9
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ const onTermWheel = (event: WheelEvent) => {
|
||||||
} else {
|
} else {
|
||||||
term.value.options.fontSize = term.value.options.fontSize + 1;
|
term.value.options.fontSize = term.value.options.fontSize + 1;
|
||||||
}
|
}
|
||||||
|
changeTerminalSize();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue