From fc8512944ed0e8187ad6bbac3d62431eaf31a103 Mon Sep 17 00:00:00 2001 From: Sung-Taek Hong Date: Mon, 17 Aug 2015 23:49:37 +0900 Subject: [PATCH] [Button] erase meaningless radius calc Change-Id: I01489794f02840ca668857441ead75ffa043af58 Signed-off-by: Sung-Taek Hong --- src/lib/tizen_vector.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/tizen_vector.c b/src/lib/tizen_vector.c index 5cc05ab..ff3ad21 100644 --- a/src/lib/tizen_vector.c +++ b/src/lib/tizen_vector.c @@ -1209,8 +1209,8 @@ button_effect_no_bg_resize_cb(void *data, Evas *e EINA_UNUSED, evas_vg_shape_shape_append_rect(vd->shape[0], 0, 0, w, h, vd->corner, vd->corner); else { - int radius_w = adjust_radius(w/2); - int radius_h = adjust_radius(h/2); + int radius_w = w / 2; + int radius_h = h / 2; evas_vg_shape_shape_append_circle(vd->shape[0], radius_w, radius_h, radius_h); } } @@ -1295,8 +1295,8 @@ button_effect_resize_cb(void *data, Evas *e EINA_UNUSED, evas_vg_shape_shape_append_rect(vd->shape[1], 0, 0, w, h, vd->corner, vd->corner); else { - int radius_w = adjust_radius(w/2); - int radius_h = adjust_radius(h/2); + int radius_w = w / 2; + int radius_h = h / 2; if (w == h) evas_vg_shape_shape_append_circle(vd->shape[1], radius_w, radius_h, radius_w); else @@ -1321,8 +1321,8 @@ button_base_resize_cb(void *data, Evas *e EINA_UNUSED, evas_vg_shape_shape_append_rect(vd->shape[0], 0, 0, w, h, vd->corner, vd->corner); else { - int radius_w = adjust_radius(w/2); - int radius_h = adjust_radius(h/2); + int radius_w = w / 2; + int radius_h = h / 2; if (w == h) evas_vg_shape_shape_append_circle(vd->shape[0], radius_w, radius_h, radius_w); else -- 2.7.4