mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 18: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
759987f762
commit
c53f687ca5
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ static NSNotificationCenter *nc = nil;
|
||||||
{
|
{
|
||||||
if (NSMinY(r) >= p.y)
|
if (NSMinY(r) >= p.y)
|
||||||
{
|
{
|
||||||
offset = i;
|
offset = i - 1;
|
||||||
|
|
||||||
/* get the enclosing rect for the two views */
|
/* get the enclosing rect for the two views */
|
||||||
if (prev != nil)
|
if (prev != nil)
|
||||||
|
@ -176,7 +176,7 @@ static NSNotificationCenter *nc = nil;
|
||||||
{
|
{
|
||||||
if (NSMinX(r) >= p.x)
|
if (NSMinX(r) >= p.x)
|
||||||
{
|
{
|
||||||
offset = i;
|
offset = i - 1;
|
||||||
|
|
||||||
/* get the enclosing rect for the two views */
|
/* get the enclosing rect for the two views */
|
||||||
if (prev != nil)
|
if (prev != nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue