(application)
| 229 | } |
| 230 | } |
| 231 | onColorsChanged(application) { |
| 232 | let appearance = this.colors; |
| 233 | if (appearance == 2) |
| 234 | appearance = this.appearance; |
| 235 | buildAssets(appearance); |
| 236 | if (application.first) { |
| 237 | application.distribute("onMachineDeselected", this.currentMachine, this.currentTab); |
| 238 | application.replace(application.first, new MainContainer(this)); |
| 239 | this.doOpenView(); |
| 240 | application.distribute("onMachineSelected", this.currentMachine, this.currentTab); |
| 241 | } |
| 242 | } |
| 243 | // onDisplaying deferred to onAppearanceChanged so that appearance is known |
| 244 | selectMachine(machine, tab = 0) { |
| 245 | if ((this.currentMachine != machine) || (this.currentTab != tab)) { |
no test coverage detected