Don't use .png when referencing the clock image (so the high-resolution version will be loaded as necessary)

This commit is contained in:
Justin Spahr-Summers
2012-07-31 17:55:17 -07:00
parent 95d8adec09
commit 65bfe37499
+1 -1
View File
@@ -67,7 +67,7 @@
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.