fix: refresh hover when menus modify their contents

This fixes hover and scroll in palettes and dropdowns.

close #486
This commit is contained in:
CJ van den Berg 2026-02-03 18:45:44 +01:00
parent d5166e2f68
commit 87e0e06aaf
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 9 additions and 1 deletions

View file

@ -318,6 +318,7 @@ pub fn Create(options: type) type {
}
fn start_query(self: *Self, n: usize) !void {
defer tui.reset_hover(@src());
defer self.update_count_hint();
self.items = 0;
self.menu.reset_items();