Setting window.location to byond://winget?id=output&property=size&callback=JSFunction does a winget for output's size and executes JSFunction with the result.
Other interface-related fixes:
winget() on an invisible control no longer returns 0
winset() on an anchored control's size/pos now more closely matches BYOND behavior
The CVar interface.resolutionAutoScaleEnabled is disabled by default, which fixes weird scaling behaviors when resizing a window too small
Size 0x0 now more closely matches BYOND behavior
This fixes tg's chat extending over the command bar.
Currently breaks goonstation's and paradise's interfaces. I suspect the changes to anchoring. Fixed
Setting
window.location
tobyond://winget?id=output&property=size&callback=JSFunction
does a winget foroutput
's size and executes JSFunction with the result.Other interface-related fixes:
interface.resolutionAutoScaleEnabled
is disabled by default, which fixes weird scaling behaviors when resizing a window too smallThis fixes tg's chat extending over the command bar.
Currently breaks goonstation's and paradise's interfaces. I suspect the changes to anchoring.Fixed