Skip to content
Browse files

Don't use .png when referencing the clock image (so the high-resoluti…

…on version will be loaded as necessary)
  • Loading branch information...
1 parent 95d8ade commit 65bfe37499bab270c57236ac84bcd91a6058cf3f @jspahrsummers jspahrsummers committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ExampleProject/ConcordeExample/ExampleView.m
2 ExampleProject/ConcordeExample/ExampleView.m
@@ -67,7 +67,7 @@ Note by default scroll views (and therefore table views) don't
CGRect b = v.bounds;
CGContextRef ctx = TUIGraphicsGetCurrentContext();
- NSImage *image = [NSImage imageNamed:@"clock.png"];
+ NSImage *image = [NSImage imageNamed:@"clock"];
CGRect imageRect = ABIntegralRectWithSizeCenteredInRect([image size], b);
if([v.nsView isTrackingSubviewOfView:v]) { // simple way to check if the mouse is currently down inside of 'v'. See the other methods in TUINSView for more.

0 comments on commit 65bfe37

Please sign in to comment.
Something went wrong with that request. Please try again.