(invertedColors: boolean)
| 163 | } |
| 164 | |
| 165 | private setInvertedColors(invertedColors: boolean): void{ |
| 166 | Saving.saveBool("gameInvertedColors", invertedColors); |
| 167 | this.getGame().applyInvertedColorsToCss(); |
| 168 | this.update(); |
| 169 | this.getGame().updateStatusBar(); // We also update the status bar to fix the selected tab's color |
| 170 | this.getGame().updatePlace(); |
| 171 | } |
| 172 | |
| 173 | private update(): void{ |
| 174 | // Erase everything |
no test coverage detected