Open malex984 opened 3 years ago
Thanks for the contribution. I did a bit of cleanup and tried to make the handling of transparency easier and more consistent, especially when an alpha channel is present in the color but transparency is disabled.
Please test the feature/background-color
branch. If everything is alright, I will merge it.
Ok, it works.
Note that --transparent
does NOT lead to setting alpha=0 anymore.
Now in order to get transparent window one has to specify alpha channel via background-color
in addition to --transparent
.
Try: yarn start --background-color "#fff" -t
vs. yarn start --background-color "#fff0" -t
Looks good to me on macOS. If there is something suspicious, please post screenshots and describes what happens and what is supposed to happen.
Now, (for me on linux) yarn start -t
produces OPAQUE window and only --background-color "#fff0" -t
leads to the requested transparent window.
Previously single -t
was triggering transparency (by forcing alpha to be zero), right?
My note is about this slight change of behavior...
Alright, well spotted!
I changed the default background color from white
to #FFF0
for that matter. Please check!
Looks good!
Browser-Window' background (e.g. during any refresh) instead of hardcoded white.
NOTE: transparency support is enabled despite a problem in Color library