webengine/osswebengine/WebKit/s60/webview/WebFrameView.cpp
branchRCL_3
changeset 46 30342f40acbf
parent 44 800203832575
child 47 e1bea15f9a39
equal deleted inserted replaced
44:800203832575 46:30342f40acbf
   418         checkScrollbarVisibility();
   418         checkScrollbarVisibility();
   419         
   419         
   420         //maybe the content got smaller and we need to scroll back to view?
   420         //maybe the content got smaller and we need to scroll back to view?
   421         TPoint p( nearestPointInFrame(m_contentPos) );
   421         TPoint p( nearestPointInFrame(m_contentPos) );
   422         if (p!=m_contentPos)
   422         if (p!=m_contentPos)
       
   423         	{ 
   423             // this will also update scrollbars is necessary
   424             // this will also update scrollbars is necessary
   424             scrollTo(p);
   425             scrollTo(p);
       
   426             m_topView->scrollStatus(false); 
       
   427         	} 
   425         else if (!m_parent) {
   428         else if (!m_parent) {
   426             // top level
   429             // top level
   427             m_topView->updateScrollbars(m_contentSize.iHeight, m_contentPos.iY, m_contentSize.iWidth, m_contentPos.iX);
   430             m_topView->updateScrollbars(m_contentSize.iHeight, m_contentPos.iY, m_contentSize.iWidth, m_contentPos.iX);
   428         }
   431         }
   429     }
   432     }