Skip to content

Commit

Permalink
Disable the scrolling on LogView
Browse files Browse the repository at this point in the history
  • Loading branch information
toxoscorp committed Sep 26, 2023
1 parent 43b3cda commit 5f30b68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UOSM-Dashboard/Core/UI/LogView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ LogView::LogView(lv_obj_t* parent, DataAggregator& aggregator) : View(parent, ag
lv_obj_align(table, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_width(table, lv_obj_get_width(container));

lv_obj_set_scrollbar_mode(table, LV_SCROLLBAR_MODE_OFF);

getDataAggregator().canLogEntries.addListener([this](const DataQueue<CANLogEntry*>& entries) {
// In case view is deleted, return before trying to access it.
if (!this) {
Expand Down

0 comments on commit 5f30b68

Please sign in to comment.