Skip to content

Commit

Permalink
Typos in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
YoniTsafir committed Jan 27, 2016
1 parent ed3ed28 commit 65241e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sparrow/src/Classes/SPTouch.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, SPTouchPhase)
@property (nonatomic, readonly) SPDisplayObject *target;

/// The amount of force that was applied to the touch, as a factor from 0 to 1.
@property (nonatomic, readonly) float *forceFactor;
@property (nonatomic, readonly) float forceFactor;

@end

Expand Down
2 changes: 1 addition & 1 deletion sparrow/src/Classes/SPTouchProcessor.m
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ - (SPTouch *)createOrUpdateTouch:(SPTouch *)touch
currentTouch.previousGlobalX = touch.previousGlobalX;
currentTouch.previousGlobalY = touch.previousGlobalY;
currentTouch.phase = touch.phase;
currentTouch.forceFactor = touch.forceFactor
currentTouch.forceFactor = touch.forceFactor;
currentTouch.timestamp = _elapsedTime;

if (currentTouch.phase == SPTouchPhaseBegan)
Expand Down

0 comments on commit 65241e8

Please sign in to comment.