mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
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:
parent
06739272c3
commit
beafc5fb13
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
1999-09-14 David Lazaro Saz <khelekir@encomix.es>
|
||||
|
||||
* 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 <n.pero@mi.flashnet.it>
|
||||
|
||||
* Source/NSButton.m: ([-drawRect:]): Removed method.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue