Merge pull request #332 from adamperkowski/main

Change deprecated `frame.size()` to `frame.area()` after ec76dcd
This commit is contained in:
Chris Titus 2024-09-10 16:14:17 -05:00 committed by GitHub
commit 0218de3b34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ impl AppState {
Constraint::Min(2 + SHORTCUT_LINES as u16), Constraint::Min(2 + SHORTCUT_LINES as u16),
]) ])
.margin(0) .margin(0)
.split(frame.size()); .split(frame.area());
let horizontal = Layout::default() let horizontal = Layout::default()
.direction(Direction::Horizontal) .direction(Direction::Horizontal)