mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 04:20:56 +00:00
Replace CENTER_LEFT with TOP_LEFT to match other printf function (#1295)
This commit is contained in:
parent
01bbd04a5a
commit
0e59243b83
@ -299,7 +299,7 @@ void DisplayBuffer::printf(int x, int y, Font *font, TextAlign align, const char
|
||||
void DisplayBuffer::printf(int x, int y, Font *font, const char *format, ...) {
|
||||
va_list arg;
|
||||
va_start(arg, format);
|
||||
this->vprintf_(x, y, font, COLOR_ON, TextAlign::CENTER_LEFT, format, arg);
|
||||
this->vprintf_(x, y, font, COLOR_ON, TextAlign::TOP_LEFT, format, arg);
|
||||
va_end(arg);
|
||||
}
|
||||
void DisplayBuffer::set_writer(display_writer_t &&writer) { this->writer_ = writer; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user