From f27e35a759f3fff3bf802eea12bd9da53309462a Mon Sep 17 00:00:00 2001 From: dlazaro Date: Tue, 14 Sep 1999 14:01:04 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ Source/NSScrollView.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 845f9d905..8cd3c7918 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-09-14 David Lazaro Saz + + * Source/NSScrollView.m ([NSScrollView -drawRect:]): Corrected problem + with the vertical black line of a scrollview being displaced 1 pixel + down. + Tue Sep 14 1999 Nicola Pero * Source/NSButton.m: ([-drawRect:]): Removed method. diff --git a/Source/NSScrollView.m b/Source/NSScrollView.m index cc381102d..695f98409 100644 --- a/Source/NSScrollView.m +++ b/Source/NSScrollView.m @@ -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); }