Print row can be assync. Therefore we set the font there.

master
David Peer 2022-01-16 11:43:13 +01:00
parent 7b1624a18e
commit 838bae3ded
1 changed files with 2 additions and 2 deletions

View File

@ -115,6 +115,8 @@ function queueDraw() {
function printRow(text, value, y, c){
g.setFontAntonioMedium();
g.setFontAlign(-1,-1,0);
g.setColor(c);
g.fillRect(79, y-2, 85 ,y+18);
@ -140,8 +142,6 @@ function drawData(key, y, c){
function _drawData(key, y, c){
g.setFontAntonioMedium();
g.setFontAlign(-1,-1,0);
key = key.toUpperCase()
var text = key;
var value = "ERR";