🎨 窗口重置最小高框

This commit is contained in:
Liang Ding 2023-03-24 10:23:20 +08:00
parent 555a9ba2ca
commit 58ce642e00
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -223,11 +223,11 @@ const boot = () => {
y = 0;
}
}
if (windowState.width < 400) {
windowState.width = 400;
if (windowState.width < 493) {
windowState.width = 493;
}
if (windowState.height < 300) {
windowState.height = 300;
if (windowState.height < 376) {
windowState.height = 376;
}
if (x < 0) {
x = 0;