comp - fix event shape to account for txt/texblock and img properly

@fix
This commit is contained in:
Carsten Haitzler 2022-03-08 01:30:17 +00:00
parent 6bdd1abbe2
commit 9e23feb482
1 changed files with 7 additions and 0 deletions

View File

@ -799,6 +799,13 @@ _tiler_add_input_sub(Evas_Object *par, Eina_Tiler *tb)
(!strcmp(type, "textblock"))
)
{
const char *name = evas_object_name_get(o);
evas_object_geometry_get(o, &x, &y, &w, &h);
if ((name) && (!strcmp(name, "cw->obj")))
eina_tiler_rect_del(tb, &(Eina_Rectangle){x, y, w, h});
else
eina_tiler_rect_add(tb, &(Eina_Rectangle){x, y, w, h});
}
else if ((!strcmp(type, "edje")) ||
(!strcmp(type, "e_zoomap")))