Commit d264fce
authored
fix(theme): problems with theme preview (@fehmer) (monkeytypegame#6881)
1. when a custom theme is active preview of regular theme was not
applied, introduced with
monkeytypegame@fdead53
2. when custom theme is active previewing other custom themes set the
color to the active custom theme first, then the selected one causing
flashing
To reproduce:
1. preview of regular theme not working
- create a custom theme with black background, activate it
- open commandline to preview a regular theme
2. custom theme colors get set multiple times
- create a custom theme with white background called white and activate
it
- create to custom themes with black background called black1 and black2
- switch preview between black1 and black21 parent 44ceb71 commit d264fce
File tree
2 files changed
+4
-3
lines changed- frontend/src/ts
- commandline
- controllers
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
570 | | - | |
| 570 | + | |
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
0 commit comments