From 6e5e48cc7c5290793b2a50981eda2a1507bf0b63 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 17 Jan 2016 21:56:06 -0800 Subject: [PATCH] Clear region below RecentEntries list. --- firmware/application/recent_entries.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/application/recent_entries.hpp b/firmware/application/recent_entries.hpp index a04545863..68c8c4a45 100644 --- a/firmware/application/recent_entries.hpp +++ b/firmware/application/recent_entries.hpp @@ -151,6 +151,11 @@ public: draw(entry, target_rect, painter, s, (has_focus() && is_selected_key)); target_rect.pos.y += target_rect.height(); } + + painter.fill_rectangle( + { target_rect.left(), target_rect.top(), target_rect.width(), r.bottom() - target_rect.top() }, + style().background + ); } bool on_encoder(const EncoderEvent event) override {