1.1 --- a/Source/BoardUIView.m Tue Mar 11 17:09:50 2008 -0700
1.2 +++ b/Source/BoardUIView.m Wed May 28 12:47:10 2008 -0700
1.3 @@ -122,7 +122,7 @@
1.4 UITouch *touch = touches.anyObject;
1.5
1.6 BOOL placing = NO;
1.7 - _dragStartPos = touch.locationInView;
1.8 + _dragStartPos = [touch locationInView: self];
1.9 _dragBit = (Bit*) [self hitTestPoint: _dragStartPos
1.10 forLayerMatching: layerIsBit
1.11 offset: &_dragOffset];
1.12 @@ -188,7 +188,7 @@
1.13
1.14 if( _dragBit ) {
1.15 // Get the mouse position, and see if we've moved 3 pixels since the mouseDown:
1.16 - CGPoint pos = touch.locationInView;
1.17 + CGPoint pos = [touch locationInView: self];
1.18 if( fabs(pos.x-_dragStartPos.x)>=3 || fabs(pos.y-_dragStartPos.y)>=3 )
1.19 _dragMoved = YES;
1.20