forked from enlightenment/efl
elementary/naviframe - don't do it if the display mode are exactly same.
since the on_obj_size_hints_changed are called in various case(hint changed, display mode changed), it needs to check. SVN revision: 83053
This commit is contained in:
parent
5f655fecae
commit
a945ba944e
|
@ -1156,6 +1156,8 @@ _on_obj_size_hints_changed(void *data __UNUSED__, Evas *e __UNUSED__,
|
|||
if (!it) return;
|
||||
|
||||
dispmode = evas_object_size_hint_display_mode_get(obj);
|
||||
if (sd->dispmode == dispmode) return;
|
||||
|
||||
sd->dispmode = dispmode;
|
||||
|
||||
switch (dispmode)
|
||||
|
|
Loading…
Reference in New Issue