summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index b343f382..09c1c7dc 100755
--- a/control-center
+++ b/control-center
@@ -667,7 +667,7 @@ $run_darea->signal_connect(expose_event => sub {
my $style = $run_darea->{style} ||= $run_darea->get_style;
$run_darea->window->draw_layout($style->text_gc('normal'), $y_text + $width/2 - $txt_width/2, $x_text, $run_darea->{layout});
$run_counter += $run_counter_add;
- $run_counter_add = -$run_counter_add if $run_counter < 100 || 245 < $run_counter;
+ $run_counter_add = -$run_counter_add if $run_counter < 100 || 255-$run_counter_add < $run_counter;
});
gtkflush();
@@ -809,7 +809,7 @@ sub compute_exec_string {
$previous->hide;
$run_pixbuf = gtkcreate_pixbuf($icon . "_128");
$run_counter = 255;
- $run_counter_add = -10;
+ $run_counter_add = -5;
$timeout = Glib::Timeout->add(35, sub {
my $style = $run_darea->{style} ||= $run_darea->get_style;
my $bg = $run_darea->{bg} ||= $style->bg('normal');