elm_panel: Fix incorrect scroller content region calculation of panel.
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 13 Mar 2015 08:27:03 +0000 (17:27 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 13 Mar 2015 08:28:17 +0000 (17:28 +0900)
commit8ee8864bdc8615602e7ed45341092d26e5e76627
treef0dc38568065107d0f6669789a88d74aa19fd0d3
parent3dfaf653721dec7f5b1dd55a11471d73f7fc5053
elm_panel: Fix incorrect scroller content region calculation of panel.

Summary:
Fix incorrect scroller content region calculation of panel.
It is fixed that the parent of panel content becomes scr_ly if panel is scrollable.

Test Plan:
Test Panel Scrollable in elementary_test.
1. Change panel orient as ELM_PANEL_ORIENT_RIGHT in test_panel.c.
2. Run elementary_test and test Panel Scrollable.
3. You can see the right panel drawer is hidden right after it is shown.
   (After applying this patch, this problem will be resolved.)

Reviewers: seoz, woohyun, eunue, Hermet

Reviewed By: Hermet

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