1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

Setting the size for the images that will start large initially was redundant.

This commit is contained in:
Mitchell Livingston 2006-06-13 01:10:48 +00:00
parent 047216976e
commit 064b33066a

View file

@ -67,7 +67,6 @@ static uint32_t kRed = 0xFF6450FF, //255, 100, 80
{
fProgressWhite = [NSImage imageNamed: @"ProgressBarWhite.png"];
[fProgressWhite setScalesWhenResized: YES];
[fProgressWhite setSize: startSize];
}
if (!fProgressBlue)
{
@ -85,13 +84,11 @@ static uint32_t kRed = 0xFF6450FF, //255, 100, 80
{
fProgressGreen = [NSImage imageNamed: @"ProgressBarGreen.png"];
[fProgressGreen setScalesWhenResized: YES];
[fProgressGreen setSize: startSize];
}
if (!fProgressAdvanced)
{
fProgressAdvanced = [NSImage imageNamed: @"ProgressBarAdvanced.png"];
[fProgressAdvanced setScalesWhenResized: YES];
[fProgressAdvanced setSize: startSize];
}
if (!fProgressEndWhite)