diff options
| author | suyambulingamrm <suyambu.rm@samsung.com> | 2014-06-02 12:34:15 +0530 |
|---|---|---|
| committer | suyambulingamrm <suyambu.rm@samsung.com> | 2014-06-02 12:34:15 +0530 |
| commit | 2d78232b3619bf2704b27a5e85935430ec6d6bb7 (patch) | |
| tree | d7d5a2c053bd92c5625afdad8e3ad3fe6526a1a3 /src/cairo-tests/animation.cpp | |
| parent | b3a8c05c2a4d12e161836f43831fb3f70f0730ae (diff) | |
Issue #69. Update radius properly in animation case.
Diffstat (limited to 'src/cairo-tests/animation.cpp')
| -rw-r--r-- | src/cairo-tests/animation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-tests/animation.cpp b/src/cairo-tests/animation.cpp index 15f61c3..5fa4257 100644 --- a/src/cairo-tests/animation.cpp +++ b/src/cairo-tests/animation.cpp @@ -57,6 +57,8 @@ ca_test_animation(caskbench_context_t *ctx) shape.height = particle->height; shape.x = particle->x; shape.y = particle->y; + if (!shape.radius) + shape.radius = 40; cairoDrawRandomizedShape(ctx, &shape); } |