Kaydet (Commit) 5807b071 authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

Page Breaks: avoid flickering of the tab by drawing it over the line

üst df68f63f
......@@ -477,15 +477,9 @@ void SwPageBreakWin::UpdatePosition( )
{
long nRight = std::min( nPgRight + aBtnSize.getWidth() - ARROW_WIDTH / 2, aVisArea.Right() );
nBtnLeft = nRight - aBtnSize.getWidth();
if ( IsVisible() )
nLineRight = nBtnLeft;
}
else
{
nBtnLeft = std::max( nPgLeft - aBtnSize.Width() + ARROW_WIDTH / 2, aVisArea.Left() );
if ( IsVisible() )
nLineLeft = nBtnLeft + aBtnSize.Width();
}
// Set the button position
Point aBtnPos( nBtnLeft, nYLineOffset - aBtnSize.Height() / 2 );
......
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