mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Added change which will help when Alex M. makes his window decoration changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19532 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
db62ca916d
commit
85f61b6056
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-06-15 01:28 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormPalettesManager.m: [GormPalettesManager mouseDown:] a
|
||||
call to convertRect:toView: was added to correctly translate the
|
||||
view being dragged in all cases. This will show no real benefit
|
||||
until Alex M. adds the window decoration patches.
|
||||
|
||||
2004-06-10 01:28 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Gorm.m: [Gorm testInterface] added code in the exception
|
||||
|
|
|
@ -173,7 +173,8 @@ static NSImage *dragImage = nil;
|
|||
control (like the contentView of an NSBox) */
|
||||
while (view != nil && [view superview] != self)
|
||||
view = [view superview];
|
||||
rect = [view frame];
|
||||
rect = [[view superview] convertRect: [view frame]
|
||||
toView: nil]; // this will always get the correct coordinates...
|
||||
|
||||
if (active == nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue