diff -r 0fd27995241b -r 9ac0a0a7da70 javauis/lcdui_akn/lcdui/src/CMIDEditingStateIndicator.cpp --- a/javauis/lcdui_akn/lcdui/src/CMIDEditingStateIndicator.cpp Tue May 11 16:07:20 2010 +0300 +++ b/javauis/lcdui_akn/lcdui/src/CMIDEditingStateIndicator.cpp Tue May 25 12:34:19 2010 +0300 @@ -591,12 +591,25 @@ DEBUG("CMIDEditingStateIndicator::Draw +"); CWindowGc& gc = SystemGc(); + + // If scaling is on, clip to canvas rect is needed. + if (iIsScalingOn) + { + gc.SetClippingRect(iOnScreenCanvasRect); + } + // Draw background with background color TRgb backgroundColor; GetColor(EColorControlBackground, backgroundColor); gc.SetBrushColor(backgroundColor); gc.Clear(aRect); + // cancel of clip + if (iIsScalingOn) + { + gc.CancelClippingRect(); + } + DEBUG("CMIDEditingStateIndicator::Draw -"); } @@ -615,7 +628,7 @@ // --------------------------------------------------------------------------- // CMIDEditingStateIndicator::CMIDEditingStateIndicator() : - CAknIndicatorContainer(CAknIndicatorContainer::EQueryEditorIndicators) + CAknIndicatorContainer(CAknIndicatorContainer::EQueryEditorIndicators) { DEBUG("CMIDEditingStateIndicator::CMIDEditingStateIndicator"); }