I’ll try to explain… not easy.
I was trying to find out which mask image file was being used by corona in different approachs, when personalizing a switch button:
a ) making a custom theme
b ) creating a custom switch on the fly, using an image sheet an mask
At some moment I decided to erase (or rename) some of the mask files to see which one was being used:
I have the “normal”, the “@2x” and the “@4x”
To my surprise, the theme and its switch still work when I deleted all 3 files. Or if I rename them.
I was going nuts - checked everything: no other mask file for sure. Exited simulator, entered again, same. Relaunch project, clean sandbox…
Last I built the project for windows, and *magically*, a new mask image file with the correct name was generated - one that was NOT in the project folder.
All this with version 2017.3130 in Windows 10.
So the mask file is somewhere in Corona’s cache - which makes me feel uneasy.
Also, it seems only the “normal” mask file is used in any case.
Best regards,
jaime