[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sw/source
Petr Mladek
pmladek at kemper.freedesktop.org
Mon Aug 13 08:19:19 PDT 2012
sw/source/ui/docvw/PageBreakWin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cbb047527d856258b7b925dc37f56f0e9b0b3e90
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Fri Aug 10 16:14:17 2012 +0400
Page Break: don't show if mouse is gone and button is still invisible (fdo#46518)
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
Signed-off-by: Petr Mladek <pmladek at suse.cz>
diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx
index c96f280..02a3dcb 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() )
More information about the Libreoffice-commits
mailing list