Skip to content

Commit f53e224

Browse files
Fix HTML5 transparent docs build
1 parent 6f124fc commit f53e224

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lime/_internal/backend/html5/HTML5Window.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ class HTML5Window
321321
if (forceWebGL || (!forceCanvas && (!Reflect.hasField(contextAttributes, "hardware") || contextAttributes.hardware)))
322322
{
323323
var transparentBackground = (Reflect.hasField(contextAttributes, "background") && contextAttributes.background == null)
324-
|| (Reflect.hasField(attributes, "transparent") && attributes.transparent);
324+
|| parent.transparent;
325325
var colorDepth = Reflect.hasField(contextAttributes, "colorDepth") ? contextAttributes.colorDepth : 16;
326326

327327
var options =

0 commit comments

Comments
 (0)