Skip to content

Commit

Permalink
Small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 14, 2023
1 parent 59d5ae9 commit 127279c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/planet096_ui_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Planet096Image {

private:
uint8_t x = 0, y = 0;
Planet096Color color = WHITE;
Planet096Color color = PLANET096_WHITE;
bool has_rendered = false,
is_updated = true;

Expand Down
2 changes: 1 addition & 1 deletion src/planet096_ui_progress_bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ uint8_t Planet096ProgressBar::getWidth() {

void Planet096ProgressBar::setHeight(uint8_t height) {
this->height = height;
return this->height;
this->invalidate();
}

uint8_t Planet096ProgressBar::getHeight() {
Expand Down

0 comments on commit 127279c

Please sign in to comment.