mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 23:30:37 +00:00
Apply patch by Eric Wasylishen to correct the orientation of colorAtX:y:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29120 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cacdad6f44
commit
b8d68dcdbb
3 changed files with 27 additions and 7 deletions
|
@ -791,7 +791,7 @@ withRepeatedImage: (NSImage*)image
|
|||
|
||||
for (i = 0; i < s.width; i++)
|
||||
{
|
||||
NSColor *pixelColor = [rep colorAtX: i y: s.height - 1];
|
||||
NSColor *pixelColor = [rep colorAtX: i y: 0];
|
||||
|
||||
[pixelColor getRed: &r green: &g blue: &b alpha: &a];
|
||||
if (a > 0 && x1 == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue