Fix info alignment

pull/1720/head
David Peer 2022-04-20 17:15:10 +02:00
parent 058beeae94
commit 945bc31b36
1 changed files with 3 additions and 0 deletions

View File

@ -291,6 +291,9 @@ function drawInfo(){
return; return;
} }
// Draw Infor is called from different sources so
// we have to ensure that the alignment is always the same.
g.setFontAlign(-1, -1, 0);
g.setFontAntonioMedium(); g.setFontAntonioMedium();
g.setColor(color2); g.setColor(color2);
g.clearRect(120, 10, g.getWidth(), 75); g.clearRect(120, 10, g.getWidth(), 75);