diff --git a/content/treestyletab/res/fullScreenCanvas.xul b/content/treestyletab/res/fullScreenCanvas.xul index d0586a43..6523e34e 100644 --- a/content/treestyletab/res/fullScreenCanvas.xul +++ b/content/treestyletab/res/fullScreenCanvas.xul @@ -30,6 +30,8 @@ window.addEventListener('DOMContentLoaded', function() { var h = window.innerHeight; canvas.style.width = (canvas.width = w)+'px'; canvas.style.height = (canvas.height = h)+'px'; + canvas.style.top = canvas.style.left = 0; + canvas.style.zIndex = 65000; var frame = this.frame; if (frame) { frame.style.width = canvas.style.width; @@ -85,6 +87,7 @@ window.addEventListener('DOMContentLoaded', function() { ctx.restore(); }); + canvas.style.position = 'fixed'; this.container.removeAttribute('collapsed'); } catch(e) { @@ -94,6 +97,7 @@ window.addEventListener('DOMContentLoaded', function() { hide : function() { + this.canvas.style.position = 'static'; this.container.setAttribute('collapsed', true); },