From a883c2f1dc85d564a8d94d8cf852dc12632a072f Mon Sep 17 00:00:00 2001 From: ribet Date: Wed, 7 Nov 2007 09:40:13 +0000 Subject: Correction de l'opacité qui n'a qu'un seul paramètre --- src/MTools/Anim/MOpacity.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MTools/Anim/MOpacity.pm b/src/MTools/Anim/MOpacity.pm index 00b4450..64cf739 100644 --- a/src/MTools/Anim/MOpacity.pm +++ b/src/MTools/Anim/MOpacity.pm @@ -88,7 +88,7 @@ sub start { $self -> {__animation} = my $animation = $zinc->Anim ( -pacing => 'linear', -duration => $self -> mget ('duration') * 1000, - -command => sub { $self -> __event (@{$_[0]})}, + -command => sub { $self -> __event ($_[0])}, ); $animation->addresource('number', -path => [0, $self -> mget ('to_opacity') - $opacitydep]); -- cgit v1.1