Update app.js

pull/981/head
Andrew Gregory 2021-12-02 16:05:36 +08:00 committed by GitHub
parent 012982e910
commit cb8ee70625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ function drawToken(id, r) {
sz = 30;
do {
g.setFont("Vector", sz--);
} while (g.stringWidth(state.otp) > r.w);
} while (g.stringWidth(state.otp) > (r.w - adj));
g.drawString(state.otp, (x1 + x2) / 2 + adj, y1 + 16, false);
}
// shaded lines top and bottom