Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ lib_deps =
bblanchon/ArduinoJson @ ^6.21.0
fastled/FastLED
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
ESP32Async/ESPAsyncWebServer @ 3.8.0

extra_scripts =
pre:${PROJECT_DIR}/htmlconvert.py
Expand Down
2 changes: 1 addition & 1 deletion src/ui/ProvisioningCard.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ class ProvisioningCard {
// Helper methods for SystemController integration
void handleSystemStateChange(const ControllerState& newState);
String apiStateToString(ApiState state);
};
};
4 changes: 2 additions & 2 deletions src/ui/QuestionCard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ void QuestionCard::startScrolling()
lv_coord_t cont_h = lv_obj_get_height(_cont);

/* include vertical padding */
lv_coord_t pad_top = lv_obj_get_style_pad_top (_cont, 0);
lv_coord_t pad_bottom = lv_obj_get_style_pad_bottom(_cont, 0);
lv_coord_t pad_top = lv_obj_get_style_pad_top (_cont, LV_PART_MAIN);
lv_coord_t pad_bottom = lv_obj_get_style_pad_bottom(_cont, LV_PART_MAIN);

lv_coord_t distance = label_h + pad_top + pad_bottom - cont_h;
if (distance <= 0) return; // no scrolling needed
Expand Down