(name: string)
| 38 | } |
| 39 | |
| 40 | setImage(name: string) { |
| 41 | if (this.name == name) |
| 42 | return; |
| 43 | this.name = name; |
| 44 | this.imageSize = stockIcons.getImage(name).getSize(); |
| 45 | this.view.schedulePaint(); |
| 46 | } |
| 47 | |
| 48 | setTitle(title: string) { |
| 49 | const colorMode = this.colorMode ?? (this.darkMode ? 'dark' : 'light'); |
no test coverage detected