Correct x position in cRecMenuItemEvent::Draw
This commit is contained in:
parent
7ca598f64e
commit
f56219c93c
|
@ -1832,8 +1832,9 @@ void cRecMenuItemEvent::Draw(void) {
|
||||||
if (imgLoader.LoadLogo(channel, logoWidth, height)) {
|
if (imgLoader.LoadLogo(channel, logoWidth, height)) {
|
||||||
cImage logo = imgLoader.GetImage();
|
cImage logo = imgLoader.GetImage();
|
||||||
pixmapText->DrawImage(cPoint(logoX, (height - logo.Height()) / 2), logo);
|
pixmapText->DrawImage(cPoint(logoX, (height - logo.Height()) / 2), logo);
|
||||||
logoX += logoWidth + 5;
|
// logoX += logoWidth + 5;
|
||||||
}
|
}
|
||||||
|
logoX += logoWidth + 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
int textX = logoX;
|
int textX = logoX;
|
||||||
|
|
Loading…
Reference in New Issue