mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
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";
|
||||
var context = canvas.getContext("2d");
|
||||
context.globalCompositeOperation = "src-over";
|
||||
context.fillRect(0, 0, canvas.width, canvas.height);
|
||||
document.body.appendChild(canvas);
|
||||
|
||||
return context;
|
||||
|
Loading…
Reference in New Issue
Block a user