mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:20:49 +00:00
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:
parent
d4f4617d09
commit
710675c693
2 changed files with 96 additions and 67 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue