Fix for N_SE-52559 and N_SE-52594
authorvignesh.v <vignesh.v@samsung.com>
Tue, 17 Sep 2013 11:31:50 +0000 (17:01 +0530)
committervignesh.v <vignesh.v@samsung.com>
Tue, 17 Sep 2013 11:31:50 +0000 (17:01 +0530)
Signed-off-by: vignesh.v <vignesh.v@samsung.com>
Change-Id: I3a826bc1f8420c1eebfdb3a351ef714874261634

src/ui/controls/FUiCtrl_SplitPanel.cpp

index e979123..6e5614f 100644 (file)
@@ -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;
        }