Skip to content

Commit

Permalink
fix: Correct spelling of "Rotation" in UI elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Plouf-0 committed Dec 21, 2024
1 parent c68dce5 commit 13d4fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/factory_test/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ void setting_scr_event(lv_event_t *e)
if(e->code == LV_EVENT_CLICKED) {
switch (data)
{
case 0: // "Rotatoion"
case 0: // "Rotation"
lv_obj_set_style_transform_pivot_x(scr4_cont, LV_HOR_RES/2, LV_PART_MAIN);
lv_obj_set_style_transform_pivot_y(scr4_cont, LV_VER_RES/2, LV_PART_MAIN);

Expand Down Expand Up @@ -1291,7 +1291,7 @@ void create4(lv_obj_t *parent){
lv_obj_set_style_border_width(setting_list, 0, LV_PART_MAIN);
lv_obj_set_style_shadow_width(setting_list, 0, LV_PART_MAIN);

lv_obj_t *setting1 = lv_list_add_btn(setting_list, NULL, "- Rotatoion");
lv_obj_t *setting1 = lv_list_add_btn(setting_list, NULL, "- Screen Rotation");
lv_obj_t *setting2 = lv_list_add_btn(setting_list, NULL, "- Deep Sleep");
lv_obj_t *setting3 = lv_list_add_btn(setting_list, NULL, "- UI Theme");
lv_obj_t *setting4 = lv_list_add_btn(setting_list, NULL, "- Shutdown");
Expand Down

0 comments on commit 13d4fac

Please sign in to comment.