We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bcd62c commit 629e693Copy full SHA for 629e693
meli/src/mail/compose.rs
@@ -1191,15 +1191,11 @@ impl Component for Composer {
1191
match self.mode {
1192
ViewMode::Edit | ViewMode::EmbeddedPty => {}
1193
ViewMode::EditAttachments { ref mut widget } => {
1194
- let inner_area = area.center_inside((
1195
- area.width().saturating_sub(2),
1196
- area.height().saturating_sub(2),
1197
- ));
1198
(EditAttachmentsRefMut {
1199
inner: widget,
1200
draft: &mut self.draft,
1201
})
1202
- .draw(grid, inner_area, context);
+ .draw(grid, area, context);
1203
}
1204
ViewMode::Send(ref mut s) => {
1205
let inner_area = area.center_inside((
0 commit comments