Clear the textframe before Annotating it.

This commit is contained in:
Isaac Connor 2020-10-05 13:16:22 -04:00
parent 5dd83d41fa
commit 71085d9724
1 changed files with 2 additions and 1 deletions

View File

@ -252,7 +252,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);