Skip to content

Commit

Permalink
fix: move seperator drawing after temperature drawing to remove empty…
Browse files Browse the repository at this point in the history
… space
  • Loading branch information
rackrick committed Oct 17, 2024
1 parent 90043cd commit 7d08a0f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions firmware/src/Displays/ST7735.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ namespace RP {
tft.setTextColor(TFT_WHITE, TFT_BLACK);
tft.drawBitmap(85, 16, Icons::bed, 16, 16, TFT_WHITE);
tft.drawString("Heatbed", 102, 19);

// separator
tft.drawLine(80, 15, 80, 72, TFT_DARKGREY);
tft.drawLine(0, 75, 160, 75, TFT_DARKGREY);

// extruder temperature
tft.setTextColor(TFT_RED, TFT_BLACK);
Expand Down Expand Up @@ -97,6 +93,11 @@ namespace RP {
tft.drawCentreString(String(status.bedTarget, 0) + " C", 120, 61, 1);
}

// separator
tft.drawLine(80, 15, 80, 72, TFT_DARKGREY);
tft.drawLine(0, 75, 160, 75, TFT_DARKGREY);


// display progress bar on state printing
if (status.state == "printing") {
// progress
Expand Down

0 comments on commit 7d08a0f

Please sign in to comment.