Function: interfaceInsets()
interfaceInsets(
width,interfaceVisible):Insets
Defined in: src/ui/elements/PcCanvas/index.ts:88
Space covered by the toolbar and chat on a screen of the given width.
Parameters
width
number
interfaceVisible
boolean
Returns
Example
interfaceInsets(1000, true); // { top: 0, right: 375, bottom: 0, left: 50 }