HomePhabricator

elm_panel: add exception handling in _drawer_close()

Authored by eunue on Jan 15 2018, 9:57 PM.

Description

elm_panel: add exception handling in _drawer_close()

this fixes a bug with scrollable panel not being blocked
when it is closed. scroll is blocked in _anim_stop_cb()
which is called after elm_interface_scrollable_region_bring_in().
but if panel content is already at the target position, _anim_stop_cb()
is not called. so there is a need to check content's position and
handle the exceptional case.

Details

Committed
eunueJan 15 2018, 9:57 PM
Parents
rEFL4f2b04c7a2a1: Revert "elm_panel: add exception handling in _drawer_close()"
Branches
Unknown
Tags
Unknown