fix: zero file list view position on reset()
This commit is contained in:
parent
82720a40d7
commit
521c7befef
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ pub fn reset(self: *Self) void {
|
|||
self.menu.reset_items();
|
||||
self.selected = null;
|
||||
self.menu.selected = null;
|
||||
self.view_pos = 0;
|
||||
}
|
||||
|
||||
pub fn render(self: *Self, theme: *const Widget.Theme) bool {
|
||||
|
|
Loading…
Add table
Reference in a new issue