Update app.js
parent
012982e910
commit
cb8ee70625
|
|
@ -152,7 +152,7 @@ function drawToken(id, r) {
|
||||||
sz = 30;
|
sz = 30;
|
||||||
do {
|
do {
|
||||||
g.setFont("Vector", sz--);
|
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);
|
g.drawString(state.otp, (x1 + x2) / 2 + adj, y1 + 16, false);
|
||||||
}
|
}
|
||||||
// shaded lines top and bottom
|
// shaded lines top and bottom
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue