Merge pull request #2239 from Shik-Tech/master

Update mui_u8g2.c
This commit is contained in:
olikraus 2023-08-09 22:39:07 +02:00 committed by GitHub
commit a543c48131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ u8g2_uint_t mui_get_x(mui_t *ui) MUI_NOINLINE;
u8g2_uint_t mui_get_x(mui_t *ui)
{
if ( u8g2_GetDisplayWidth(mui_get_U8g2(ui)) >= 255 )
return ui->x / 2;
return ui->x * 2;
return ui->x;
}