javauis/mmapi_akn/baseline/src/cmmacanvasdisplay.cpp
branchRCL_3
changeset 71 d5e927d5853b
parent 19 04becd199f91
child 83 26b2b12093af
--- a/javauis/mmapi_akn/baseline/src/cmmacanvasdisplay.cpp	Wed Sep 01 12:33:18 2010 +0100
+++ b/javauis/mmapi_akn/baseline/src/cmmacanvasdisplay.cpp	Tue Sep 14 21:06:50 2010 +0300
@@ -57,6 +57,12 @@
               aSourceSize.iHeight);
 
     iSourceSize = aSourceSize;
+    // If user rect size was set or full screen was set then we need to take
+    // that into account then the actual source size
+    if(IsUserRectSet() || iFullScreen)
+    {
+        return;
+    }
     TSize fullScreenSize(iCanvas->ContentSize());
 
     TBool sourceIsBigger = (aSourceSize.iWidth > fullScreenSize.iWidth ||