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:
parent
047216976e
commit
064b33066a
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue