fixing ui stuff
This commit is contained in:
@@ -351,8 +351,10 @@ void BoomDisplay::update() {
|
||||
if (!changed) return;
|
||||
if (lock()) {
|
||||
applySnapshot(current);
|
||||
// Clear old digits after a discard or explicit counter reset on ePaper.
|
||||
if (haveLast_ && current.todayEvents < last_.todayEvents) requestFullRefresh();
|
||||
unlock();
|
||||
last_ = current;
|
||||
haveLast_ = true;
|
||||
}
|
||||
last_ = current;
|
||||
haveLast_ = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user