微修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2005 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
ca728f9114
commit
faac493e74
@ -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();
|
||||
});
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user