Fixed issue in PrinterMonitor.ino

Fixed an issue for the text showing on Printer Layers screen.
pull/136/head
victor7376 2021-03-24 15:50:12 +00:00
parent 46660b9a93
commit c63caa6ee5
1 changed files with 3 additions and 4 deletions

View File

@ -987,8 +987,8 @@ void drawScreen4(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int
//display->setTextAlignment(TEXT_ALIGN_LEFT);
display->setFont(ArialMT_Plain_16);
display->drawString(64 + x, 14 + y, layer + " / " + totalLayers);
} else
display->drawString(64 + x, 16 + y, layer + " / " + totalLayers);
} else {
display->setTextAlignment(TEXT_ALIGN_CENTER);
display->setFont(ArialMT_Plain_16);
@ -997,10 +997,9 @@ void drawScreen4(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int
display->setFont(ArialMT_Plain_24);
display->drawString(64 + x, 14 + y, layer + " / " + totalLayers);
}
}
void drawScreen5(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y) {
String EstimatedEnd = printerClient.getEstimatedEndTime();