aboutsummaryrefslogtreecommitdiff
path: root/src/MTools/Anim/MOpacity.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/MTools/Anim/MOpacity.pm')
-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]);