mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
CVolumeBar: don't use digit height
height is wrong and calculations for digit positions could be confused
Origin commit data
------------------
Commit: 4d2dd415c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-28 (Sat, 28 Jan 2017)
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