* Source/NSView.m: Add back in matrix initialization.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27315 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-12-16 21:56:47 +00:00
parent 37cb9d46b0
commit 1ecd731b02
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2008-12-16 16:41-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSView.m: Add back in matrix initialization.
2008-12-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSTextView.m (-draggingUpated:): Scroll during dragging
@ -21,7 +25,7 @@
2008-12-16 13:58-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoading.m: Make the log ino debug in awakeFromNib
* Source/GSNibLoading.m: Make the log into debug in awakeFromNib
* Source/NSApplication.m: Allow modal to end multiple times, per spec
there is no exception for doing this.
* Source/NSPasteboard.m: Allow multiple threads in pasteboard

View file

@ -533,8 +533,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
_bounds.origin = NSZeroPoint; // Set bounds rectangle
_bounds.size = _frame.size;
//_frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
//_boundsMatrix = [NSAffineTransform new]; // Map from superview to bounds
_frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
_boundsMatrix = [NSAffineTransform new]; // Map from superview to bounds
_matrixToWindow = [NSAffineTransform new]; // Map to window coordinates
_matrixFromWindow = [NSAffineTransform new]; // Map from window coordinates
@ -4403,8 +4403,8 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
[super initWithCoder: aDecoder];
// initialize these here, since they're needed in either case.
//_frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
//_boundsMatrix = [NSAffineTransform new]; // Map fromsuperview to bounds
_frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
_boundsMatrix = [NSAffineTransform new]; // Map fromsuperview to bounds
_matrixToWindow = [NSAffineTransform new]; // Map to window coordinates
_matrixFromWindow = [NSAffineTransform new];// Map from window coordinates