From 1ecd731b0229968ae764bdb59980cd0c473cac27 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Tue, 16 Dec 2008 21:56:47 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 +++++- Source/NSView.m | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index c95398136..339611ac3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-12-16 16:41-EST Gregory John Casamento + + * Source/NSView.m: Add back in matrix initialization. + 2008-12-16 Wolfgang Lux * Source/NSTextView.m (-draggingUpated:): Scroll during dragging @@ -21,7 +25,7 @@ 2008-12-16 13:58-EST Gregory John Casamento - * 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 diff --git a/Source/NSView.m b/Source/NSView.m index 229ee5454..2dd9bf139 100644 --- a/Source/NSView.m +++ b/Source/NSView.m @@ -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