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

Commit e2ca6b46 authored by Damien Bargiacchi's avatar Damien Bargiacchi Committed by android-build-merger
Browse files

Centre clock text on visible characters instead of : character am: 45a76440

am: 04f17be3

Change-Id: Ia6af0064f606062a646aa3e251b56631992aa86b
parents 14e55354 04f17be3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -611,9 +611,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)