Nabi issue 46564 fix
[apps/osp/Gallery.git] / src / GlProgressAnimation.cpp
index 465706c..73352bc 100644 (file)
@@ -185,7 +185,7 @@ ProgressAnimation::Construct(Tizen::Graphics::Rectangle rect)
 
                // Create Animation
                __pAnimation = new (std::nothrow) Animation();
-               __pAnimation->Construct(Rectangle((rect.width / 2 - 60 / 2), (rect.height / 2 + 30), 60, 60), *__pAnimationFrameList);
+               __pAnimation->Construct(Rectangle((rect.width / 2 - 60 / 2), (rect.height / 2 - 30), 60, 60), *__pAnimationFrameList);
                __pAnimation->SetRepeatCount(10000);
                AddControl(__pAnimation);
        }
@@ -211,6 +211,6 @@ void
 ProgressAnimation::ChangeOrientation(Tizen::Graphics::Rectangle rect)
 {
        Panel::SetBounds(rect);
-       __pAnimation->SetBounds((rect.width / 2 - 60 / 2), (rect.height / 2 + 30), 60, 60);
+       __pAnimation->SetBounds((rect.width / 2 - 60 / 2), (rect.height / 2 - 30), 60, 60);
        __pAnimation->Invalidate(true);
 }