"what if adminbus stops leaking confidential adminchat" and also updates admin things. you can now do obj/structure/singulo:50

This commit is contained in:
Letter N
2020-08-23 17:18:32 +08:00
parent 7a00122906
commit b8d812fb47
12 changed files with 282 additions and 189 deletions

View File

@@ -104,13 +104,8 @@ const setupApp = () => {
'is-disabled': false,
'pos': '0x0',
});
// bad workaround for size.
const winget_output = Byond.winget('output');
if (winget_output["size"]) {
Byond.winset('browseroutput', {
'size': winget_output["size"],
});
}
// Absolutely shit workaround for chatbox visiblity.
based_winset();
// Enable hot module reloading
if (module.hot) {
@@ -130,4 +125,12 @@ const setupApp = () => {
}
};
const based_winset = async (based_on_what = 'output') => {
// shitty workaround because winget is async.
const winget_output = await Byond.winget(based_on_what);
Byond.winset('browseroutput', {
'size': winget_output["size"],
});
};
setupApp();

File diff suppressed because one or more lines are too long