Clear the textframe before Annotating it.

pull/3076/head
Isaac Connor 2020-10-05 13:16:22 -04:00
parent c1c407ea39
commit 93ecb87caa
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ bool StreamBase::sendTextFrame(const char *frame_text) {
monitor->Width(), monitor->Height(), scale, frame_text);
Image image(monitor->Width(), monitor->Height(), monitor->Colours(), monitor->SubpixelOrder());
image.Annotate(frame_text, image.centreCoord(frame_text));
image.Clear();
image.Annotate(frame_text, image.centreCoord(frame_text, monitor->LabelSize()), monitor->LabelSize());
if ( scale != 100 ) {
image.Scale(scale);