Use an overlayed component for the topics picker

This prevents the topics file picker from consuming the whole screen
and makes it consistent with the standard file and buffer pickers.
help-command
Michael Davis 2022-12-12 20:22:04 -06:00
parent 19111e1478
commit 0e037802c2
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1863,7 +1863,7 @@ fn help(cx: &mut compositor::Context, args: &[Cow<str>], event: PromptEvent) ->
},
|_editor, Topic(path)| Some((path.clone().into(), None)),
);
compositor.push(Box::new(picker));
compositor.push(Box::new(overlayed(picker)));
},
));