mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-22 02:41:23 +01:00
fix content max size
This commit is contained in:
parent
84f60a21f9
commit
b96d97855b
@ -639,9 +639,10 @@ class Screen {
|
||||
let height = termHeightFromRows(25, GlobalModel.termFontSize.get());
|
||||
return { width, height };
|
||||
}
|
||||
// TODO calculate these sizes more deliberately
|
||||
let winSize = this.lastScreenSize;
|
||||
let width = boundInt(winSize.width - 50, 100, 5000);
|
||||
let height = boundInt(winSize.height - 100, 100, 5000);
|
||||
let height = boundInt(winSize.height - 120, 100, 5000);
|
||||
return { width, height };
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user