mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
CVolumeBar: don't use digit height
height is wrong and calculations for digit positions could be confused
This commit is contained in:
@@ -224,11 +224,6 @@ void CVolumeBar::initVolumeBarDigit()
|
|||||||
//refresh and paint digit
|
//refresh and paint digit
|
||||||
void CVolumeBar::paintVolumeBarDigit()
|
void CVolumeBar::paintVolumeBarDigit()
|
||||||
{
|
{
|
||||||
// digits
|
|
||||||
CTextBox* ctb = vb_digit->getCTextBoxObject();
|
|
||||||
if (ctb)
|
|
||||||
ctb->setFontUseDigitHeight();
|
|
||||||
|
|
||||||
// paint digit
|
// paint digit
|
||||||
vb_digit->paint(CC_SAVE_SCREEN_NO);
|
vb_digit->paint(CC_SAVE_SCREEN_NO);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user