It will trigger additional size calculation only for fit option.
The fit option can be calculated at once. It is a hack.
@tizen_fix
Change-Id: I9b115ebd71bc5cb0f4ebebe96f061052fb2d8293
break;
case EDJE_PART_TYPE_TEXTBLOCK:
+ /* TIZEN_ONLY(20180205): don't calculate textblock twice
_edje_textblock_recalc_apply(ed, ep, pf, (Edje_Part_Description_Text *)chosen_desc);
+ */
+ /* END */
break;
case EDJE_PART_TYPE_VECTOR:
Edje_Calc_Params *params,
int *minw, int *minh,
int *maxw, int *maxh);
+/* TIZEN_ONLY(20180205): don't calculate textblock twice
void
_edje_textblock_recalc_apply(Edje *ed, Edje_Real_Part *ep,
Edje_Calc_Params *params,
Edje_Part_Description_Text *chosen_desc);
+ */
+/* END */
Edje_Real_Part *_edje_real_part_get(const Edje *ed, const char *part);
}
}
+/* TIZEN_ONLY(20180205): don't calculate textblock twice
void
_edje_textblock_recalc_apply(Edje *ed, Edje_Real_Part *ep,
Edje_Calc_Params *params,
Edje_Part_Description_Text *chosen_desc)
{
- /* FIXME: this is just an hack. */
+ // FIXME: this is just an hack.
FLOAT_T sc;
#if 0
NULL, NULL, NULL, NULL);
}
}
+ */
+/* END */