improve popup ordering

This commit is contained in:
alice pellerin
2026-04-10 20:44:40 -05:00
parent a091b504fb
commit 3503e35c6e
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ pub enum PartialAction {
#[derive(Clone)]
pub struct Popup {
at: usize,
pub at: usize,
width: u16,
primary: bool,
lines: Vec<Span<'static>>
@@ -310,7 +310,7 @@ impl Buffer {
},
}
if !action.is_inspection() {
if action.clears_popups() && !action.is_inspection() {
self.inspection_status = None;
}
}