messagesoverlay - Fix border being a pixel to wide

pull/3307/head
Martin Boonk 2024-04-04 22:41:00 +02:00
parent 8f8d91e951
commit dbfa9dd09d
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ const drawMessage = function(ovr, msg) {
const yText = 40;
let yLine = yText + 4;
ovr.setClipRect(2,2,ovr.getWidth() - 4, ovr.getHeight() - 4);
ovr.setClipRect(2,2,ovr.getWidth() - 3, ovr.getHeight() - 3);
const maxTextHeight = ovr.getHeight() - yLine - padding + 2;