diff options
author | teramako | 2010-03-19 18:04:55 +0000 |
---|---|---|
committer | teramako | 2010-03-19 18:04:55 +0000 |
commit | b056a97a6cbe8ae7bc9074d5fde494314ab3dac3 (patch) | |
tree | a73df46b767035c1aee80d4b9040b4a2d6fe78bc /sl.js | |
parent | 4105dba3df84af3ab06bab6f1733e1e9c705c76d (diff) | |
download | vimperator-plugins-b056a97a6cbe8ae7bc9074d5fde494314ab3dac3.tar.bz2 |
LinuxやMacでも一応動くように
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37058 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'sl.js')
-rw-r--r-- | sl.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -77,6 +77,8 @@ SL.prototype = { // {{{ this.count++; this.ctx.clearRect(0,0, this.width, this.height); this.ctx.save(); + this.ctx.fillStyle = "rgba(0,0,0,0.8)"; + this.ctx.fillRect(0, 0, this.width, this.height); if (this.isFly){ this.ctx.rotate(this.rotateRadian); this.ctx.translate(0, - this.height/2); @@ -512,7 +514,7 @@ let xulNS = new Namespace("http://www.mozilla.org/keymaster/gatekeeper/there.is. let xhtmlNS = new Namespace("http://www.w3.org/1999/xhtml"); let dialog; let self = { - panel: xmlToDom(<panel id="vimp-sl" noautohide="true" style="background-color:rgba(0,0,0,0.8);border:none;" xmlns={xulNS}/>), + panel: xmlToDom(<panel id="vimp-sl" noautohide="true" style="background:transparent;border:none;" xmlns={xulNS}/>), open: function(attr){ if (!attr) attr = {}; let defAttr = getFullScreenAttr(); |