From: vignesh.v Date: Tue, 17 Sep 2013 11:31:50 +0000 (+0530) Subject: Fix for N_SE-52559 and N_SE-52594 X-Git-Tag: accepted/tizen/20131002.165803^2~98^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6971da8492442ed76405f4ab0c45d584b3634ada;p=platform%2Fframework%2Fnative%2Fuifw.git Fix for N_SE-52559 and N_SE-52594 Signed-off-by: vignesh.v Change-Id: I3a826bc1f8420c1eebfdb3a351ef714874261634 --- diff --git a/src/ui/controls/FUiCtrl_SplitPanel.cpp b/src/ui/controls/FUiCtrl_SplitPanel.cpp index e979123..6e5614f 100644 --- a/src/ui/controls/FUiCtrl_SplitPanel.cpp +++ b/src/ui/controls/FUiCtrl_SplitPanel.cpp @@ -332,7 +332,7 @@ _SplitPanel::OnBoundsChanged(void) _UiTouchEventDelivery _SplitPanel::OnPreviewTouchPressed(const _Control& source, const _TouchInfo& touchinfo) { - if (__pSplitPanelPresenter->OnTouchPressed(source, touchinfo)) + if (!IsPaneMaximized(SPLIT_PANEL_PANE_ORDER_FIRST) && !IsPaneMaximized(SPLIT_PANEL_PANE_ORDER_SECOND) && __pSplitPanelPresenter->OnTouchPressed(source, touchinfo)) { return _UI_TOUCH_EVENT_DELIVERY_NO; } @@ -343,7 +343,7 @@ _SplitPanel::OnPreviewTouchPressed(const _Control& source, const _TouchInfo& tou _UiTouchEventDelivery _SplitPanel::OnPreviewTouchReleased(const _Control& source, const _TouchInfo& touchinfo) { - if (__pSplitPanelPresenter->OnTouchReleased(source, touchinfo)) + if (!IsPaneMaximized(SPLIT_PANEL_PANE_ORDER_FIRST) && !IsPaneMaximized(SPLIT_PANEL_PANE_ORDER_SECOND) && __pSplitPanelPresenter->OnTouchReleased(source, touchinfo)) { return _UI_TOUCH_EVENT_DELIVERY_NO; }