Commit 9cd312d
authored
fix(theme): wrong theme application during preview (@byseif21) (monkeytypegame#6617)
### Description
Closes monkeytypegame#6616
Changes:
- Refactored theme preview state management to use a single state object
- Removed redundant state variables
- Maintained the same debouncing behavior for smooth scrolling1 parent 79cc330 commit 9cd312d
1 file changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
234 | 241 | | |
235 | 242 | | |
236 | 243 | | |
237 | 244 | | |
238 | | - | |
| 245 | + | |
| 246 | + | |
239 | 247 | | |
240 | 248 | | |
241 | | - | |
242 | | - | |
243 | | - | |
| 249 | + | |
| 250 | + | |
244 | 251 | | |
245 | | - | |
| 252 | + | |
246 | 253 | | |
247 | | - | |
| 254 | + | |
248 | 255 | | |
249 | 256 | | |
250 | 257 | | |
| |||
264 | 271 | | |
265 | 272 | | |
266 | 273 | | |
| 274 | + | |
| 275 | + | |
267 | 276 | | |
268 | 277 | | |
269 | 278 | | |
| |||
0 commit comments