Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 65bfe37499bab270c57236ac84bcd91a6058cf3f 1 parent 95d8ade
@jspahrsummers jspahrsummers authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ExampleProject/ConcordeExample/ExampleView.m
View
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.
Please sign in to comment.
Something went wrong with that request. Please try again.