Skip to content

Commit

Permalink
Better positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkemose committed Jan 30, 2015
1 parent d736bce commit 7d16fc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Extensions/CCBusyNode/CCBusyNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ - (void)setColor:(CCColor *)color

- (void)draw:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform
{
// convert position to openGL coordinates and position indicator
CGPoint pos = [self positionInPoints];
pos = [[CCDirector sharedDirector] convertToGL:pos];
CGPoint pos = [self convertToWindowSpace:pos];
_indicator.frame = CGRectMake(pos.x, pos.y, 0, 0);
//
[super draw:renderer transform:transform];
Expand Down

0 comments on commit 7d16fc1

Please sign in to comment.