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.
This commit is contained in:
Michael Davis 2022-12-12 20:22:04 -06:00
parent 19111e1478
commit 0e037802c2
No known key found for this signature in database

View File

@ -1863,7 +1863,7 @@ fn label(&self, _data: &Self::Data) -> Spans {
},
|_editor, Topic(path)| Some((path.clone().into(), None)),
);
compositor.push(Box::new(picker));
compositor.push(Box::new(overlayed(picker)));
},
));