Update to fix coordinate conversion between views.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3585 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-01-22 20:28:12 +00:00
parent d4f4617d09
commit 710675c693
2 changed files with 96 additions and 67 deletions

View file

@ -477,9 +477,10 @@ PSMatrix* matrix;
NSEventType eventType;
NSRect knobRect = {{0,0},{0,0}};
int periodCount = 0; // allows a forced update
NSArray* path = [self _pathBetweenSubview:self
NSMutableArray* path = [self _pathBetweenSubview:self
toSuperview:[window contentView]];
[path addObject: [window contentView]];
matrix = [self _concatenateMatricesInReverseOrderFromPath:path];
[matrix inverse];