Media: add offset to inactive sound card.
fixes #14522. Change-Id: Ib1c43b63cc43d0b66e5415fbbc42cbc821a25087 Reviewed-on: https://review.haiku-os.org/593 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
42b6e5279f
commit
e4ae6cb42f
|
@ -98,8 +98,9 @@ struct MediaListItem::Renderer {
|
||||||
|
|
||||||
iconFrame = MediaIcons::IconRectAt(iconFrame.RightTop() + BPoint(1, 0));
|
iconFrame = MediaIcons::IconRectAt(iconFrame.RightTop() + BPoint(1, 0));
|
||||||
|
|
||||||
if (fDoubleInsets && fPrimaryIcon) {
|
if (fDoubleInsets) {
|
||||||
onto->DrawBitmap(fPrimaryIcon, iconFrame);
|
if (fPrimaryIcon != NULL)
|
||||||
|
onto->DrawBitmap(fPrimaryIcon, iconFrame);
|
||||||
point.x = iconFrame.right + 1;
|
point.x = iconFrame.right + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue