Commit e8c9804
Only thumbnail image files in the grid
Every file cell got an `<img>` src, so browsing a non-image (the compiled
`.sdz` in the Export dialog, a `.lua`) made RmlUi try to load it as a
texture: `[BMP::Load] invalid bitmap ... (loaded=0)`. Give a thumbnail only
to known image extensions; other files show a caption-only cell.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4bcc6de commit e8c9804
1 file changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
321 | 327 | | |
322 | 328 | | |
323 | 329 | | |
| |||
469 | 475 | | |
470 | 476 | | |
471 | 477 | | |
| 478 | + | |
472 | 479 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
478 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
479 | 490 | | |
480 | | - | |
| 491 | + | |
481 | 492 | | |
482 | 493 | | |
483 | 494 | | |
| |||
0 commit comments