tmedwards / sugarcube-2

SugarCube is a free (gratis and libre) story format for Twine/Twee.
https://www.motoslave.net/sugarcube/2/
BSD 2-Clause "Simplified" License
177 stars 41 forks source link

Overlays opacity is always default #73

Closed gulumige closed 4 years ago

gulumige commented 4 years ago

The documentation for Dialog.open() states that one can set the top and opacity for the #ui-dialog and #ui-overlay respectively, but I never got the opacity to change. I did find this: https://github.com/tmedwards/sugarcube-2/blob/ba1a16ec78896b4b2de6219292c579ce216eb049/src/dialog.js#L222-L223 which shows mad disrespect towards opacity.