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
1 changed files with 0 additions and 3 deletions

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)