Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad7c7aca authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Centre clock text on visible characters instead of : character" into cw-f-dev

parents 3601d3c2 45a76440
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -610,9 +610,10 @@ void BootAnimation::drawClock(const Font& font, const int xPos, const int yPos)
        return;
    }

    char* out = timeBuff[0] == ' ' ? &timeBuff[1] : &timeBuff[0];
    int x = xPos;
    int y = yPos;
    drawText(timeBuff, font, false, &x, &y);
    drawText(out, font, false, &x, &y);
}

bool BootAnimation::parseAnimationDesc(Animation& animation)