lib: Fix potential panic in imUI column widget

This commit is contained in:
Erik Kundt
2024-09-04 14:37:42 +02:00
parent ed9bd1a0c3
commit fc05a124cb
+1 -1
View File
@@ -997,7 +997,7 @@ pub mod widget {
let area = render_block(frame, area, self.borders, border_style);
let area = Rect {
width: area.width - 1,
width: area.width.saturating_sub(1),
..area
};