Skip to content

Commit

Permalink
Fix batterycell with icons
Browse files Browse the repository at this point in the history
  • Loading branch information
EosBandi committed Sep 9, 2024
1 parent 4f1287e commit a8287b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExtLibs/Controls/HUD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2862,7 +2862,7 @@ internal void doPaint()
text = _batterylevel.ToString("0.00v") + " " + _current.ToString("0.0 A") + " " + (_batteryremaining) + "%";
drawstring(text, font, fontsize + 1, textcolor, bottomsize / 2 + 6, yPos[1]);
if (displayCellVoltage & (_batterycellcount != 0))
drawstring((_batterylevel / _batterycellcount).ToString("0.00v"), font, fontsize, textcolor, bottomsize / 2 + 6, yPos[1]);
drawstring((_batterylevel / _batterycellcount).ToString("0.00v"), font, fontsize, textcolor, bottomsize / 2 + 6, yPos[0]);

}
else
Expand Down

0 comments on commit a8287b2

Please sign in to comment.