Do not allow cmd+click in invalid inlay context

This commit is contained in:
Kirill Bulatov 2023-08-27 19:12:32 +03:00
parent 693e91f335
commit 81e70905bb
2 changed files with 6 additions and 4 deletions

View file

@ -2755,7 +2755,7 @@ impl PointForPosition {
}
}
fn as_valid(&self) -> Option<DisplayPoint> {
pub fn as_valid(&self) -> Option<DisplayPoint> {
if self.previous_valid == self.exact_unclipped && self.next_valid == self.exact_unclipped {
Some(self.previous_valid)
} else {