mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-22 07:20:45 +01:00
The image menu listed every imported resource. One that did not decode has no thumbnail, and effect.add.fill and effect.set refuse it, so clicking it ended in an error for an item the menu had offered. The menu now lists only the images that were decoded, and shows its search field only when there are some. A test puts a resource that is not an image next to a real one and checks that only the real one is offered.