Clear region below RecentEntries list.

This commit is contained in:
Jared Boone 2016-01-17 21:56:06 -08:00
parent 05d7e0222f
commit 6e5e48cc7c

View File

@ -151,6 +151,11 @@ public:
draw(entry, target_rect, painter, s, (has_focus() && is_selected_key)); draw(entry, target_rect, painter, s, (has_focus() && is_selected_key));
target_rect.pos.y += target_rect.height(); 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 { bool on_encoder(const EncoderEvent event) override {