Closed gulumige closed 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.
Dialog.open()
top
opacity
#ui-dialog
#ui-overlay
The documentation for
Dialog.open()
states that one can set thetop
andopacity
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 towardsopacity
.