mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Merge pull request #332 from adamperkowski/main
Change deprecated `frame.size()` to `frame.area()` after ec76dcd
This commit is contained in:
commit
0218de3b34
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user