mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-21 02:20:48 +08:00
lib: Fix potential panic in imUI column widget
This commit is contained in:
+1
-1
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user