aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorribet2007-11-07 09:40:13 +0000
committerribet2007-11-07 09:40:13 +0000
commita883c2f1dc85d564a8d94d8cf852dc12632a072f (patch)
tree43f562cc47f9eb020c1724e48f9bd4cf8be04ecd /src
parentb4060168a19582b2025bb219ac162587945924be (diff)
downloadmtc-a883c2f1dc85d564a8d94d8cf852dc12632a072f.zip
mtc-a883c2f1dc85d564a8d94d8cf852dc12632a072f.tar.gz
mtc-a883c2f1dc85d564a8d94d8cf852dc12632a072f.tar.bz2
mtc-a883c2f1dc85d564a8d94d8cf852dc12632a072f.tar.xz
Correction de l'opacité qui n'a qu'un seul paramètre
Diffstat (limited to 'src')
-rw-r--r--src/MTools/Anim/MOpacity.pm2
1 files changed, 1 insertions, 1 deletions
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]);