gwt-material-addins
gwt-material-addins copied to clipboard
MaterialOverlay Opacity
MaterialOverlay has a constructor that allows you to set the opacity, However, the open([...]) functions all end up setting the opacity to 1. I would like to be able to open an overlay that isn't fully opaque.
A workaround for this is to not call overlay.setBackgroundColor but instead call getElement().getStyle().setBackgroundColor("rgba(0,0,0,0.2)"), for example, to set a black, 0.2 opacity.
Reported by: @RLHawk1