Revert "enventor: Do not highlight part during live edit mode."

This reverts commit 567a38d5e5.

Disable state should not control part highlight state.
This commit is contained in:
Jaehyun Cho 2016-06-02 19:20:24 +09:00
parent 37ba55657b
commit cd13b0f169
1 changed files with 1 additions and 3 deletions

View File

@ -134,7 +134,7 @@ edit_view_sync_cb(void *data, Eina_Stringshare *state_name, double state_value,
evas_object_smart_callback_call(pd->obj, SIG_CURSOR_GROUP_CHANGED,
(void *) group_name);
}
if (pd->part_highlight && !pd->disabled)
if (pd->part_highlight)
view_part_highlight_set(VIEW_DATA, part_name);
else
view_part_highlight_set(VIEW_DATA, NULL);
@ -599,8 +599,6 @@ _enventor_object_part_highlight_set(Eo *obj EINA_UNUSED,
Enventor_Object_Data *pd,
Eina_Bool part_highlight)
{
if (pd->disabled) return;
part_highlight = !!part_highlight;
if (pd->part_highlight == part_highlight) return;
pd->part_highlight = part_highlight;