Skip to content

Conversation

ggcrunchy
Copy link
Contributor

The support for transparent windows was botched for simulator skins. (These devices are not the target platform, but it seems helpful to provide it.) The setSkinImage function wanted an isTransparent argument and thus, due to lack of that, was just getting ignored. So skins weren't showing up.

The skin view's opacity was also being set to 0.0 when requesting transparency, so would also be hidden for that reason. Now it's set to a small value (0.125, somewhat arbitrary) so you can still see the skin, just faded.


There are still some compromises, probably unavoidable, versus what you would see in a build:

  • Because there is a faded skin behind them, any transparent background parts will be slightly less so
  • Opaque parts of the content area stand out where screen dressing would normally obscure them (looks a bit odd)

…inImage

Slightly non-0 transparency to preserve slightly visible skin
@ggcrunchy ggcrunchy requested a review from Shchvova as a code owner February 4, 2023 05:43
@Shchvova Shchvova merged commit 83c910e into coronalabs:experimental Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants