Made sure to use right data type for a negative number
This commit is contained in:
parent
174e5ccfe4
commit
4b0a852053
|
@ -98,8 +98,8 @@ Music::Music(Pinetime::Applications::DisplayApp *app, Pinetime::Controllers::Mus
|
|||
lv_obj_set_width(txtTrackDuration, LV_HOR_RES);
|
||||
|
||||
constexpr uint8_t FONT_HEIGHT = 12;
|
||||
constexpr uint8_t MIDDLE_OFFSET = -25;
|
||||
constexpr uint8_t LINE_PAD = 15;
|
||||
constexpr int8_t MIDDLE_OFFSET = -25;
|
||||
txtArtist = lv_label_create(lv_scr_act(), nullptr);
|
||||
lv_label_set_long_mode(txtArtist, LV_LABEL_LONG_SROLL);
|
||||
lv_obj_align(txtArtist, nullptr, LV_ALIGN_IN_LEFT_MID, 12, MIDDLE_OFFSET + 1 * FONT_HEIGHT);
|
||||
|
|
Loading…
Reference in New Issue
Block a user