Kaydet (Commit) cc5f9db2 authored tarafından Miklos Vajna's avatar Miklos Vajna

SwEditWin::MouseMove: ignore visual area when tiled rendering

With this, it's possible to do mouse-button-down + move several times +
mouse-button-up desktop-style selection of Writer text.

Change-Id: If0711c5d397a8342b31c9b5448bf6223990529e4
üst 7c0efaab
...@@ -3729,7 +3729,7 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt) ...@@ -3729,7 +3729,7 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt)
} }
const Point aOldPt( rSh.VisArea().Pos() ); const Point aOldPt( rSh.VisArea().Pos() );
const bool bInsWin = rSh.VisArea().IsInside( aDocPt ); const bool bInsWin = rSh.VisArea().IsInside( aDocPt ) || rSh.isTiledRendering();
if( m_pShadCrsr && !bInsWin ) if( m_pShadCrsr && !bInsWin )
delete m_pShadCrsr, m_pShadCrsr = 0; delete m_pShadCrsr, m_pShadCrsr = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment