MediaPlayer: don't fill background for mute button

* The difference is visible when control background doesn't match
  panel background.

Change-Id: Ie3a034acaa52929becd6601520e0e05f32ecc8d8
Reviewed-on: https://review.haiku-os.org/537
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit f5ac1f07e20890e92adf8f7cee03413afbc9a4db)
Reviewed-on: https://review.haiku-os.org/538
This commit is contained in:
Kacper Kasper 2018-09-11 21:53:56 +02:00 committed by waddlesplash
parent 059cfb28ea
commit f114f600be

View File

@ -43,8 +43,7 @@ SymbolButton::Draw(BRect updateRect)
base, flags & ~BControlLook::B_DISABLED, fBorders);
be_control_look->DrawButtonBackground(this, bounds, updateRect, base,
flags);
} else
FillRect(updateRect, B_SOLID_LOW);
}
if (fSymbol == NULL)
return;