1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +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 = [NSImage imageNamed: @"ProgressBarWhite.png"];
[fProgressWhite setScalesWhenResized: YES]; [fProgressWhite setScalesWhenResized: YES];
[fProgressWhite setSize: startSize];
} }
if (!fProgressBlue) if (!fProgressBlue)
{ {
@ -85,13 +84,11 @@ static uint32_t kRed = 0xFF6450FF, //255, 100, 80
{ {
fProgressGreen = [NSImage imageNamed: @"ProgressBarGreen.png"]; fProgressGreen = [NSImage imageNamed: @"ProgressBarGreen.png"];
[fProgressGreen setScalesWhenResized: YES]; [fProgressGreen setScalesWhenResized: YES];
[fProgressGreen setSize: startSize];
} }
if (!fProgressAdvanced) if (!fProgressAdvanced)
{ {
fProgressAdvanced = [NSImage imageNamed: @"ProgressBarAdvanced.png"]; fProgressAdvanced = [NSImage imageNamed: @"ProgressBarAdvanced.png"];
[fProgressAdvanced setScalesWhenResized: YES]; [fProgressAdvanced setScalesWhenResized: YES];
[fProgressAdvanced setSize: startSize];
} }
if (!fProgressEndWhite) if (!fProgressEndWhite)