aboutsummaryrefslogtreecommitdiffstats
path: root/sl.js
diff options
context:
space:
mode:
authorteramako2010-03-19 18:04:55 +0000
committerteramako2010-03-19 18:04:55 +0000
commitb056a97a6cbe8ae7bc9074d5fde494314ab3dac3 (patch)
treea73df46b767035c1aee80d4b9040b4a2d6fe78bc /sl.js
parent4105dba3df84af3ab06bab6f1733e1e9c705c76d (diff)
downloadvimperator-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.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/sl.js b/sl.js
index 3a37127..4ea05be 100644
--- a/sl.js
+++ b/sl.js
@@ -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();