summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2017-07-21 05:58:19 (GMT)
committerSungtaek Hong <sth253.hong@samsung.com>2017-07-21 05:59:43 (GMT)
commit0af8cabca116833532d1dca1996f6b17894eb0f8 (patch)
tree2bdb4a85ff98e403b5360a8ac4e82f832a1a0587
parent934158f4902c696bb840e5b6d319ccd19425745c (diff)
downloadefl-theme-tizen-mobile-0af8cabca116833532d1dca1996f6b17894eb0f8.zip
efl-theme-tizen-mobile-0af8cabca116833532d1dca1996f6b17894eb0f8.tar.gz
efl-theme-tizen-mobile-0af8cabca116833532d1dca1996f6b17894eb0f8.tar.bz2
Change-Id: I6c8cc6bbae90e2f4ea6bf9e829166b1d77430f3b Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
-rw-r--r--mobile/widgets/button.edc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile/widgets/button.edc b/mobile/widgets/button.edc
index aa9fdd6..4fd37b9 100644
--- a/mobile/widgets/button.edc
+++ b/mobile/widgets/button.edc
@@ -1410,9 +1410,9 @@
set_state(PART:"effect_spacer", "default", 0.0);
get_circumscription_radius(PART:"effect_spacer", rel_x, rel_y);
custom_state(PART:"effect_spacer", "default", 0.0);
- set_state(PART:"effect_spacer", "custom", 0.0);
set_state_val(PART:"effect_spacer", STATE_REL1, (get_float(rel_x) * -1), (get_float(rel_y) * -1));
set_state_val(PART:"effect_spacer", STATE_REL2, (get_float(rel_x) + 1), (get_float(rel_y) + 1));
+ set_state(PART:"effect_spacer", "custom", 0.0);
run_program(PROGRAM:"pressed_effect");
}
}
@@ -2161,9 +2161,9 @@ group { "elm/button/base/"style_name; \
set_ignore_flags(PART:"event", IGNORE_FLAGS_NONE); \
get_circumscription_radius(PART:"base", rel_x, rel_y); \
custom_state(PART:"effect_spacer", "default", 0.0); \
- set_state(PART:"effect_spacer", "custom",0.0); \
set_state_val(PART:"effect_spacer", STATE_REL1, (get_float(rel_x) * -1), (get_float(rel_y) * -1)); \
set_state_val(PART:"effect_spacer", STATE_REL2, (get_float(rel_x) + 1), (get_float(rel_y) + 1)); \
+ set_state(PART:"effect_spacer", "custom", 0.0); \
run_program(PROGRAM:"pressed_effect"); \
} \
} \