forked from enlightenment/efl
elm : fallback orientation_mode_disable_set legacy behavior to get true disabled state as what we set.
current code set the disable EINA_TRUE when disabled, but once it was set diabled, it never changed EINA_FALSE even we set the orientation_mode_disable as FALSE. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8434
This commit is contained in:
parent
ab30ff3f9b
commit
7bb702b0df
|
@ -1950,8 +1950,7 @@ elm_object_orientation_mode_disabled_set(Evas_Object *obj, Eina_Bool disabled)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//legacy behaviour
|
//legacy behaviour
|
||||||
if (disabled)
|
efl_key_data_set(obj, "__orientation_mode_disabled", (void*) (intptr_t) disabled);
|
||||||
efl_key_data_set(obj, "__orientation_mode_disabled", (void*) (intptr_t) EINA_TRUE);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue