Skip to content

Commit 28602a6

Browse files
committed
fix(nav): Fix T-DECK distance label
1 parent a46a924 commit 28602a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gui/src/navScr_tdeck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void navigationScr(_lv_obj_t *screen)
6262
distNav = lv_label_create(screen);
6363
lv_obj_set_style_text_font(distNav, fontVeryLarge, 0);
6464
lv_label_set_text_fmt(distNav,"%d m.", 0);
65-
lv_obj_set_pos(label,(TFT_WIDTH - 150) - ( lv_obj_get_width(label) / 2 ) , 40);
65+
lv_obj_set_pos(distNav,(TFT_WIDTH - 150) - ( lv_obj_get_width(distNav) / 2 ) , 40);
6666

6767
arrowNav = lv_img_create(screen);
6868
lv_img_set_zoom(arrowNav,iconScale);

0 commit comments

Comments
 (0)