Skip to content

Commit

Permalink
Fix main board view not redraw #2
Browse files Browse the repository at this point in the history
  • Loading branch information
isaced committed Jun 23, 2022
1 parent 8a987d1 commit 29e24e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CubicBezier/Controllers/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ - (void)updateBezierBoard:(NSEvent *)theEvent {
self.bezierTextField.stringValue = [NSString stringWithFormat:@"%.2f,%.2f,%.2f,%.2f",self.bezierDataPoint1.x,self.bezierDataPoint1.y,self.bezierDataPoint2.x,self.bezierDataPoint2.y];

[self.view setNeedsDisplay:YES];
[self.bezierBoardView setNeedsDisplay:YES];
[self updateBezierThumbnailsAll:NO];
}

Expand Down

0 comments on commit 29e24e6

Please sign in to comment.