diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-08-10 16:14:17 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-08-10 18:19:05 +0400 |
commit | 61df142e9398dee581935a4967f50ba0bd1d5235 (patch) | |
tree | 01622c28217b2e42e74664d5fab514a9071a7d8d /sw | |
parent | 1f62afae0fd04236005be70736cf7ab059a10778 (diff) |
Page Break: don't show if mouse is gone and button is still invisible
it seems when the mouse leaves the dashed line, it immediately appears inside
a button (if the mouse motion is not super-fast).
Change-Id: I43c792fdba59feafd761bde8529a8683c07bf3d3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/docvw/PageBreakWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx index 23c182730f9d..d6d7e6531b1b 100644 --- a/sw/source/ui/docvw/PageBreakWin.cxx +++ b/sw/source/ui/docvw/PageBreakWin.cxx @@ -87,7 +87,7 @@ namespace { // don't fade if we just move to the 'button' Point aEventPos( GetPosPixel() + rMEvt.GetPosPixel() ); - if ( !m_pWin->Contains( aEventPos ) ) + if ( !m_pWin->Contains( aEventPos ) || !m_pWin->IsVisible() ) m_pWin->Fade( false ); } else if ( !m_pWin->IsVisible() ) |