summaryrefslogtreecommitdiff
path: root/shelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'shelf.c')
-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)