mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Change deprecated frame.size()
to frame.area()
Continuing #271 after ec76dcd
.
Meant to do this in #271 but it got merged.
This commit is contained in:
parent
9e9af0e711
commit
5d3db953f7
|
@ -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