微修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2005 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-03-08 17:40:49 +00:00
parent ca728f9114
commit faac493e74
2 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,7 @@ window.addEventListener('DOMContentLoaded', function() {
window.fullScreenCanvas = {
show : function()
{
var color = '-moz-field';
var canvas = this.canvas;
var w = window.innerWidth;
@ -38,7 +39,7 @@ window.addEventListener('DOMContentLoaded', function() {
var ctx = canvas.getContext("2d");
ctx.clearRect(0, 0, w, h);
ctx.save();
ctx.drawWindow(window, 0, 0, w, h, "rgb(255,255,255)");
ctx.drawWindow(window, 0, 0, w, h, color);
ctx.restore();
var browsers = [this.browser];
@ -80,7 +81,7 @@ window.addEventListener('DOMContentLoaded', function() {
}
ctx.save();
ctx.translate(x, y);
ctx.drawWindow(frame, dx+frame.scrollX, dy+frame.scrollY, w, h, "rgb(255,255,255)");
ctx.drawWindow(frame, dx+frame.scrollX, dy+frame.scrollY, w, h, color);
ctx.restore();
});

View File

@ -2772,7 +2772,7 @@ TreeStyleTabBrowser.prototype = {
}
this.redrawContentArea();
window.setTimeout(function(aSelf) {
if (aSelf.tabbarShown) {
if (!aSelf.isGecko18 && aSelf.tabbarShown) {
b.removeAttribute(aSelf.kAUTOHIDE);
aSelf.redrawContentArea();
}