elm_panel : Fix bug with set scrollable panel orient.
authorJEONGHYUN YUN <jh0506.yun@samsung.com>
Tue, 27 Sep 2016 08:11:03 +0000 (17:11 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Tue, 27 Sep 2016 08:30:48 +0000 (17:30 +0900)
commit490220273111c784341d99cc178db9f01b10aafe
tree9724f67eee1b47a05c7c021498cc43d4c5004714
parentc88c74de1b0e05cc50282f88944aa15986c2b13e
elm_panel : Fix bug with set scrollable panel orient.

Summary:
1. Fix wrong logic of ELM_PANEL_ORIENT_RIGHT case in _state_sync.
2. Move pre calc function in anim_cb to sizing_eval function.
   This code have caused problem that scrollable panel is not animated during drawer open and close.
3. Maintain content size ratio when orient is changed.
4. Freeze scroller when orient is changed.
   This code will need to change orientation when drawer opened.

Reviewers: cedric, eunue

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4320
src/lib/elementary/elm_panel.c