Corrected problem with the vertical scrollview's black line being displaced

one pixel down.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4891 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
dlazaro 1999-09-14 14:01:04 +00:00
parent 78d1d47d65
commit f27e35a759
2 changed files with 7 additions and 1 deletions

View file

@ -572,7 +572,7 @@ static Class rulerViewClass = nil;
{
horizLinePosition = scrollerWidth + borderThickness;
horizLineLength -= scrollerWidth + 2 * borderThickness;
DPSmoveto(ctxt, horizLinePosition, borderThickness + 1);
DPSmoveto(ctxt, horizLinePosition, borderThickness);
DPSrlineto(ctxt, 0, [self bounds].size.height - 2 * borderThickness - 1);
DPSstroke(ctxt);
}