Fixes tgui stealing all of the space.

This commit is contained in:
Letter N
2020-08-22 21:49:43 +08:00
parent 0de041d441
commit 7a00122906
2 changed files with 8 additions and 2 deletions

View File

@@ -103,8 +103,14 @@ const setupApp = () => {
'is-visible': true, 'is-visible': true,
'is-disabled': false, 'is-disabled': false,
'pos': '0x0', 'pos': '0x0',
'size': '0x0',
}); });
// bad workaround for size.
const winget_output = Byond.winget('output');
if (winget_output["size"]) {
Byond.winset('browseroutput', {
'size': winget_output["size"],
});
}
// Enable hot module reloading // Enable hot module reloading
if (module.hot) { if (module.hot) {

File diff suppressed because one or more lines are too long