mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:30:47 +00:00
Correct flip adjustment for table header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25533 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a503b7d0a2
commit
a32ea9627a
3 changed files with 27 additions and 9 deletions
|
@ -177,7 +177,7 @@
|
|||
lastColumnToDraw = [_tableView numberOfColumns] - 1;
|
||||
|
||||
drawingRect = [self headerRectOfColumn: firstColumnToDraw];
|
||||
if ([self isFlipped])
|
||||
if (![self isFlipped])
|
||||
{
|
||||
drawingRect.origin.y++;
|
||||
}
|
||||
|
@ -249,7 +249,7 @@
|
|||
NSRectEdge dn_sides[] = {NSMaxYEdge, NSMaxXEdge};
|
||||
float grays[] = {NSBlack, NSBlack};
|
||||
|
||||
if ([self isFlipped])
|
||||
if (![self isFlipped])
|
||||
{
|
||||
NSDrawTiledRects(_bounds, aRect, up_sides, grays, 2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue