From b056a97a6cbe8ae7bc9074d5fde494314ab3dac3 Mon Sep 17 00:00:00 2001 From: teramako Date: Fri, 19 Mar 2010 18:04:55 +0000 Subject: LinuxやMacでも一応動くように git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37058 d0d07461-0603-4401-acd4-de1884942a52 --- sl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: xmlToDom(), open: function(attr){ if (!attr) attr = {}; let defAttr = getFullScreenAttr(); -- cgit v1.2.3