fixed orientation state of indicator.
authorkeuckdo.bang <keuckdo.bang@samsung.com>
Thu, 27 Jun 2013 08:34:45 +0000 (14:04 +0530)
committerkeuckdo.bang <keuckdo.bang@samsung.com>
Thu, 27 Jun 2013 08:34:45 +0000 (14:04 +0530)
Change-Id: I4d3e07b83b4759143832c339611fe92246d088b2

src/ui/controls/FUiCtrl_Indicator.cpp

index 989bc75..eb5f090 100644 (file)
@@ -431,6 +431,8 @@ _Indicator::OnChangeLayout(_ControlOrientation orientation)
                win = (Ecore_X_Window)__pWindow->GetNativeHandle();
        }
 
+       __orientation = orientation;
+
        if (orientation == _CONTROL_ORIENTATION_PORTRAIT)
        {
                ChangeCurrentVisualElement(__pPortraitVisualElement);
@@ -467,7 +469,6 @@ _Indicator::OnChangeLayout(_ControlOrientation orientation)
                        ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_OPAQUE);
                }
        }
-       __orientation = orientation;
 
        _EcoreEvas* pEcoreEvas = GetEcoreEvasMgr()->GetEcoreEvas();
        int rotation = 0;