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

Commit 53dd8b80 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

am: e2ca6b46

Change-Id: If3edabead7835e9949f1d1601cbe7cb59c0bbc4c
parents 48829f90 e2ca6b46
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -608,9 +608,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)