ライブラリ更新
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4290 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
f0a9993f4d
commit
ad3b0a61ed
@ -19,7 +19,7 @@
|
|||||||
window.addEventListener('DOMContentLoaded', function() {
|
window.addEventListener('DOMContentLoaded', function() {
|
||||||
window.removeEventListener('DOMContentLoaded', arguments.callee, true);
|
window.removeEventListener('DOMContentLoaded', arguments.callee, true);
|
||||||
|
|
||||||
const currentRevision = 7;
|
const currentRevision = 8;
|
||||||
var root = document.documentElement;
|
var root = document.documentElement;
|
||||||
|
|
||||||
var loadedRevision = root.getAttribute('fullScreenCanvas');
|
var loadedRevision = root.getAttribute('fullScreenCanvas');
|
||||||
@ -37,6 +37,9 @@ window.addEventListener('DOMContentLoaded', function() {
|
|||||||
window.fullScreenCanvas = {
|
window.fullScreenCanvas = {
|
||||||
show : function(aTargetElement)
|
show : function(aTargetElement)
|
||||||
{
|
{
|
||||||
|
if (this.shown) return;
|
||||||
|
this.shown = true;
|
||||||
|
|
||||||
var color = '-moz-field';
|
var color = '-moz-field';
|
||||||
var canvas = this.canvas;
|
var canvas = this.canvas;
|
||||||
if (!canvas) return;
|
if (!canvas) return;
|
||||||
@ -142,6 +145,7 @@ window.addEventListener('DOMContentLoaded', function() {
|
|||||||
this.container.setAttribute('collapsed', true);
|
this.container.setAttribute('collapsed', true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
shown : false,
|
||||||
|
|
||||||
getZoomForFrame : function(aFrame)
|
getZoomForFrame : function(aFrame)
|
||||||
{
|
{
|
||||||
@ -165,12 +169,14 @@ window.addEventListener('DOMContentLoaded', function() {
|
|||||||
return 1;
|
return 1;
|
||||||
},
|
},
|
||||||
|
|
||||||
hide : function()
|
hide : function()
|
||||||
{
|
{
|
||||||
|
if (!this.shown) return;
|
||||||
var canvas = this.canvas;
|
var canvas = this.canvas;
|
||||||
canvas.style.position = 'static';
|
canvas.style.position = 'static';
|
||||||
canvas.style.width = canvas.style.height = canvas.style.zIndex = 0;
|
canvas.style.width = canvas.style.height = canvas.style.zIndex = 0;
|
||||||
this.container.setAttribute('collapsed', true);
|
this.container.setAttribute('collapsed', true);
|
||||||
|
this.shown = false;
|
||||||
},
|
},
|
||||||
|
|
||||||
get browsers()
|
get browsers()
|
||||||
|
Loading…
Reference in New Issue
Block a user