summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2007-12-22 19:05:27 +0100
committerKristian Lyngstol <kristian@windu.lyngstol.net>2007-12-22 19:05:27 +0100
commit4bcd51d359ed8aa3175fd1cde7d20af58a031bda (patch)
treef881dc4d93afd48ced4d9d2c8a0cdf75fa893ca4
parentc34012fc6bfa12f3e9a774ead65115ba90806296 (diff)
downloadshelf-4bcd51d359ed8aa3175fd1cde7d20af58a031bda.tar.gz
shelf-4bcd51d359ed8aa3175fd1cde7d20af58a031bda.tar.bz2
Adjust the minimum animation step
-rw-r--r--shelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shelf.c b/shelf.c
index 448bcac..26e4fc8 100644
--- a/shelf.c
+++ b/shelf.c
@@ -219,7 +219,7 @@ shelfPaintWindow (CompWindow *w,
if (sw->targetScale != sw->scale && sw->steps)
{
sw->scale += (float) sw->steps * (sw->targetScale - sw->scale);
- if (fabsf(sw->targetScale - sw->scale) < 0.001)
+ if (fabsf(sw->targetScale - sw->scale) < 0.005)
sw->scale = sw->targetScale;
}
if (sw->scale != 1.0f)