mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-24 10:26:18 +04:00
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:
parent
19111e1478
commit
0e037802c2
@ -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)));
|
||||
},
|
||||
));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user