[radio] apply scale factor to radio inner circle
authorSung-Taek Hong <sth253.hong@samsung.com>
Tue, 13 Oct 2015 05:53:32 +0000 (14:53 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 17 Nov 2015 05:15:44 +0000 (14:15 +0900)
Change-Id: I52ed388f696239df442d57be2a2e1ef01d1969d6
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
src/lib/tizen_vector.c

index 7e8d580c5c7066c91fd543798a10d6a2532d7263..7c1f0a49fc5a7bbf31b6bb5edca41a18a2e7f89c 100644 (file)
@@ -104,7 +104,7 @@ _radio_icon_update(vg_radio *vd, double progress)
    evas_vg_shape_shape_append_circle(vd->shape[1], center_x, center_y, radius);
 
    //Iconic Circle (Center)
-   radius = (radius - outline_stroke - 4) * progress;
+   radius = (radius - outline_stroke - ELM_VG_SCALE_SIZE(vd->obj, 4)) * progress;
    evas_vg_shape_shape_reset(vd->shape[2]);
    evas_vg_shape_shape_append_circle(vd->shape[2], center_x, center_y, radius);
 }