mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-19 03:25:38 +00:00
compose: clear bounds of compose area properly
This commit is contained in:
parent
7b631beb0a
commit
670485e8c7
@ -456,7 +456,6 @@ impl Component for Composer {
|
||||
Color::Byte(189),
|
||||
Color::Byte(167),
|
||||
);
|
||||
if mid != 0 {
|
||||
clear_area(
|
||||
grid,
|
||||
(
|
||||
@ -476,7 +475,6 @@ impl Component for Composer {
|
||||
),
|
||||
theme_default,
|
||||
);
|
||||
}
|
||||
|
||||
/* Regardless of view mode, do the following */
|
||||
self.form.draw(grid, header_area, context);
|
||||
|
@ -443,7 +443,7 @@ impl Component for FormWidget {
|
||||
}
|
||||
for row in grid.bounds_iter((
|
||||
pos_inc(upper_left, (0, i)),
|
||||
set_y(bottom_right, i + get_y(upper_left)),
|
||||
(get_x(bottom_right).saturating_sub(1), i + get_y(upper_left)),
|
||||
)) {
|
||||
for c in row {
|
||||
grid[c]
|
||||
|
Loading…
Reference in New Issue
Block a user