summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_text.c')
-rw-r--r--src/lib/elementary/efl_ui_text.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index a589e59..fe4287b 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -3263,14 +3263,13 @@ _efl_ui_text_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Text_Data *sd)
3263} 3263}
3264 3264
3265EOLIAN static void 3265EOLIAN static void
3266_efl_ui_text_efl_gfx_position_set(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Coord x, Evas_Coord y) 3266_efl_ui_text_efl_gfx_position_set(Eo *obj, Efl_Ui_Text_Data *sd, Eina_Position2D pos)
3267{ 3267{
3268 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 3268 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
3269 return; 3269 return;
3270 3270
3271 efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y); 3271 efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
3272 3272 efl_gfx_position_set(sd->hit_rect, pos);
3273 evas_object_move(sd->hit_rect, x, y);
3274 3273
3275 if (sd->hoversel) _hoversel_position(obj); 3274 if (sd->hoversel) _hoversel_position(obj);
3276 3275