aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_scroll_util.c
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-08-20 09:07:02 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-20 09:07:13 -0400
commit8f32138f1f78315392ca71461a952e1cf8f39ca0 (patch)
treec1751bdb0cfc414a75774e40c1fe7a6118f73dbf /src/lib/elementary/efl_ui_scroll_util.c
parentevas_vg_load_svg: Support "display" attribute. (diff)
downloadefl-8f32138f1f78315392ca71461a952e1cf8f39ca0.tar.gz
efl_ui_scroll_util: emit edc signal that fix scroll arrow visibility
Summary: "efl,action,scroll" signal will update arrow state. ref https://phab.enlightenment.org/T8051 Test Plan: elementary_test -to 'efl.ui.scroller' Reviewers: eagleeye, bu5hm4n, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T8051 Differential Revision: https://phab.enlightenment.org/D9649
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_scroll_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_scroll_util.c b/src/lib/elementary/efl_ui_scroll_util.c
index 4336678fc7..7a2fecdde5 100644
--- a/src/lib/elementary/efl_ui_scroll_util.c
+++ b/src/lib/elementary/efl_ui_scroll_util.c
@@ -170,6 +170,7 @@ _scroll_connector_bar_size_changed_cb(void *data, const Efl_Event *event EINA_UN
efl_ui_scrollbar_bar_size_get(ctx->smanager, &width, &height);
edje_object_part_drag_size_set(wd->resize_obj, "efl.dragable.hbar", width, 1.0);
edje_object_part_drag_size_set(wd->resize_obj, "efl.dragable.vbar", 1.0, height);
+ efl_layout_signal_emit(wd->resize_obj, "efl,action,scroll", "efl");
}
static void
@@ -183,6 +184,7 @@ _scroll_connector_bar_pos_changed_cb(void *data, const Efl_Event *event EINA_UNU
efl_ui_scrollbar_bar_position_get(ctx->smanager, &posx, &posy);
edje_object_part_drag_value_set(wd->resize_obj, "efl.dragable.hbar", posx, 0.0);
edje_object_part_drag_value_set(wd->resize_obj, "efl.dragable.vbar", 0.0, posy);
+ efl_layout_signal_emit(wd->resize_obj, "efl,action,scroll", "efl");
}
static void