Reset style before generating transitions
This commit is contained in:
parent
d97292719f
commit
4b84f067e7
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ sub gen_transition
|
||||||
my @colors = ( @_ , @{ themed 'transition' } );
|
my @colors = ( @_ , @{ themed 'transition' } );
|
||||||
my $state = 0;
|
my $state = 0;
|
||||||
my $pc;
|
my $pc;
|
||||||
my $out = [ ];
|
my $out = [ {style=>'none'} ];
|
||||||
foreach my $char ( split // , $transition ) {
|
foreach my $char ( split // , $transition ) {
|
||||||
if ( $state == 1 ) {
|
if ( $state == 1 ) {
|
||||||
if ( $char eq 'f' || $char eq 'b' ) {
|
if ( $char eq 'f' || $char eq 'b' ) {
|
||||||
|
|
Loading…
Reference in a new issue