mirror of https://github.com/helix-editor/helix
corrected inner_area calculation
parent
4a2ad21247
commit
2fed0f87e6
|
@ -205,7 +205,7 @@ impl View {
|
||||||
.area
|
.area
|
||||||
.clip_left(gutter_width + null_width)
|
.clip_left(gutter_width + null_width)
|
||||||
.clip_bottom(1)
|
.clip_bottom(1)
|
||||||
.with_width(text_width.min(self.area.width));
|
.with_width(text_width.min(self.area.width - gutter_width));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue