forked from AuroraMiddleware/gtk
broadway: Start windows transparent rather than black
This avoids flashing
This commit is contained in:
parent
084003953d
commit
63c0198347
@ -100,7 +100,6 @@ function initContext(canvas, x, y, id)
|
|||||||
canvas.style["display"] = "none";
|
canvas.style["display"] = "none";
|
||||||
var context = canvas.getContext("2d");
|
var context = canvas.getContext("2d");
|
||||||
context.globalCompositeOperation = "src-over";
|
context.globalCompositeOperation = "src-over";
|
||||||
context.fillRect(0, 0, canvas.width, canvas.height);
|
|
||||||
document.body.appendChild(canvas);
|
document.body.appendChild(canvas);
|
||||||
|
|
||||||
return context;
|
return context;
|
||||||
|
Loading…
Reference in New Issue
Block a user