mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 11:40:47 +00:00
Fixed offset used in delegate calls
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4221f51f1a
commit
913e8e34f4
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ static NSNotificationCenter *nc = nil;
|
|||
{
|
||||
if (NSMinY(r) >= p.y)
|
||||
{
|
||||
offset = i;
|
||||
offset = i - 1;
|
||||
|
||||
/* get the enclosing rect for the two views */
|
||||
if (prev != nil)
|
||||
|
@ -176,7 +176,7 @@ static NSNotificationCenter *nc = nil;
|
|||
{
|
||||
if (NSMinX(r) >= p.x)
|
||||
{
|
||||
offset = i;
|
||||
offset = i - 1;
|
||||
|
||||
/* get the enclosing rect for the two views */
|
||||
if (prev != nil)
|
||||
|
|
Loading…
Reference in a new issue