[Horus] Cosmetics

This commit is contained in:
Bertrand Songis
2016-03-01 19:07:11 +01:00
parent d449075a54
commit 54343be57e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ void TimerWidget::refresh()
}
else {
drawStringWithIndex(zone.x, zone.y, "TMR", index + 1, SMLSIZE | TEXT_INVERTED_COLOR);
if (zone.w > 100) {
if (zone.w > 100 && zone.h > 40) {
putsTimer(zone.x, zone.y + 16, abs(timerState.val), TEXT_INVERTED_COLOR | LEFT | MIDSIZE);
}
else {
+1 -1
View File
@@ -65,7 +65,7 @@ void ValueWidget::refresh()
yValue = y-2;
xLabel = x+NUMBERS_PADDING;
yLabel = y+2;
attrValue = NO_UNIT | DBLSIZE;
attrValue = RIGHT | NO_UNIT | DBLSIZE;
}
else {
xValue = x+NUMBERS_PADDING;