[ctxpopup] arrow direction issue resolved: caused by reusing ctxpopup and changing...
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 13 Oct 2011 07:46:53 +0000 (16:46 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 13 Oct 2011 07:46:53 +0000 (16:46 +0900)
Change-Id: Ife5e73cdba330fd7fae3c46081e127eab55ee857

src/lib/elc_ctxpopup.c

index 9510106..7449069 100644 (file)
@@ -495,6 +495,9 @@ _update_arrow(Evas_Object *obj, Elm_Ctxpopup_Direction dir)
    evas_object_geometry_get(wd->base, &base_size.x, &base_size.y,
                             &base_size.w, &base_size.h);
 
+   // unswallow arrow from base
+   edje_object_part_unswallow(wd->base, wd->arrow);
+
    switch (dir)
      {
       case ELM_CTXPOPUP_DIRECTION_LEFT: