Permalink
Browse files

Fix issue #13, a bug on battery icon in retina display

  • Loading branch information...
1 parent 0344d7c commit 2639476d60219ace8af1128cd6876031d42c7e60 @codler committed Aug 20, 2012
@@ -329,7 +329,7 @@ - (NSImage *)imageInvertColor:(NSImage *)_image
[filter setDefaults];
[filter setValue:ciImage forKey:@"inputImage"];
CIImage *output = [filter valueForKey:@"outputImage"];
- [output drawAtPoint:NSZeroPoint fromRect:NSRectFromCGRect([output extent]) operation:NSCompositeSourceOver fraction:1.0];
+ [output drawInRect:NSMakeRect(0, 0, [_image size].width, [_image size].height) fromRect:NSRectFromCGRect([output extent]) operation:NSCompositeSourceOver fraction:1.0];
[image unlockFocus];
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.5</string>
+ <string>1.5.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>8</string>
+ <string>9</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSHasLocalizedDisplayName</key>

0 comments on commit 2639476

Please sign in to comment.