Skip to content

Commit

Permalink
Fix issue codler#13, a bug on battery icon in retina display
Browse files Browse the repository at this point in the history
  • Loading branch information
codler committed Aug 20, 2012
1 parent f08f0d8 commit 31faac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Battery Time Remaining/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down
4 changes: 2 additions & 2 deletions Battery Time Remaining/Battery Time Remaining-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 31faac9

Please sign in to comment.