forked from enlightenment/efl
efl_ui_win: show internal objects again on show if first_draw flag is set
Summary:
in this case, a window is being shown again after being hidden, so it's safe
to immediately show these objects as the size will not have changed since
they were last visible
fix T7172
ref fa02f16a3f
Reviewers: kimcinoo, eagleeye
Reviewed By: kimcinoo
Subscribers: cedric, #committers
Tags: #efl_widgets
Maniphest Tasks: T7172
Differential Revision: https://phab.enlightenment.org/D6646
This commit is contained in:
parent
6fb4608458
commit
6fa9fd789e
|
@ -2377,6 +2377,19 @@ _efl_ui_win_show(Eo *obj, Efl_Ui_Win_Data *sd)
|
||||||
}
|
}
|
||||||
_elm_win_state_eval(NULL);
|
_elm_win_state_eval(NULL);
|
||||||
}
|
}
|
||||||
|
if (!sd->first_draw) return;
|
||||||
|
if (sd->frame_obj)
|
||||||
|
{
|
||||||
|
evas_object_show(sd->frame_obj);
|
||||||
|
}
|
||||||
|
if (sd->img_obj)
|
||||||
|
{
|
||||||
|
evas_object_show(sd->img_obj);
|
||||||
|
}
|
||||||
|
if (sd->pointer.obj)
|
||||||
|
{
|
||||||
|
evas_object_show(sd->pointer.obj);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue