MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / displayState

Method displayState

renderer/renderJS/mini_ui.js:66–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 displayState() {
67 MA.byId('window-pin-pinned').clsShow(this.flag.pinMini)
68 MA.byId('window-pin-not-pinned').clsHide(this.flag.pinMini)
69 if ( !this.flag.launchEnable ) {
70 MA.byId('gameOnGarth').clsHide()
71 MA.byId('gameOffWayne').clsShow()
72 } else {
73 MA.byId('gameOffWayne').clsHide(this.flag.gameRunning)
74 MA.byId('gameOnGarth').clsShow(this.flag.gameRunning)
75 }
76 }
77
78 updateState() {
79 window.mini_IPC.updateState().then((status) => {

Callers 2

updateFromDataMethod · 0.95
updateStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected