X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/28ef52fed0fa8f1d49c604cabe52b846bf01d393..60a701dc9c0049a86bd739dbb8ae00c03cf90e48:/StatusWindowController.m?ds=inline diff --git a/StatusWindowController.m b/StatusWindowController.m index 85d94df..942e045 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -115,11 +115,14 @@ static StatusWindowController *sharedController; if ( art != nil ) { image = art; - NSSize size = [image size]; - if (size.width > 110) { - [image setScalesWhenResized:YES]; + [[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationLow]; + [image setScalesWhenResized:YES]; + [image setSize:NSMakeSize(110, 110)]; + /*if (size.width > 110 && size.width > size.height) { [image setSize:NSMakeSize(110, (size.width / size.height) * 110)]; - } + } else if (size.height > 110 && size.height > size.width) { + [image setSize:NSMakeSize((size.height / size.width) * 110, 110)]; + }*/ } else if ( source == ITMTRemoteLibrarySource ) { image = [NSImage imageNamed:@"Library"]; } else if ( source == ITMTRemoteCDSource ) {