1以下の値が設定された時はアニメーションOFFに

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4076 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-04-08 05:36:02 +00:00
parent 9af5989394
commit bbf11ff688

View File

@ -2804,6 +2804,7 @@ TreeStyleTabBrowser.prototype = {
if ( if (
!this.animationEnabled || !this.animationEnabled ||
aJustNow || aJustNow ||
this.indentDelay < 1 ||
!aProp || !aProp ||
(aTab.getAttribute(this.kCOLLAPSED) == 'true') (aTab.getAttribute(this.kCOLLAPSED) == 'true')
) { ) {
@ -3048,9 +3049,10 @@ TreeStyleTabBrowser.prototype = {
var regexp = this.collapseRulesRegExp; var regexp = this.collapseRulesRegExp;
if ( if (
!this.isVertical ||
!this.animationEnabled || !this.animationEnabled ||
aJustNow aJustNow ||
this.collapseDelay < 1 ||
!this.isVertical
) { ) {
aTab.setAttribute( aTab.setAttribute(
'style', 'style',