From 5d3db953f796fc5fe0c07166e89841040b59f939 Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Tue, 10 Sep 2024 23:00:03 +0200 Subject: [PATCH] Change deprecated `frame.size()` to `frame.area()` Continuing #271 after ec76dcd. Meant to do this in #271 but it got merged. --- src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index 36b5ce34..6bb4f5f3 100644 --- a/src/state.rs +++ b/src/state.rs @@ -103,7 +103,7 @@ impl AppState { Constraint::Min(2 + SHORTCUT_LINES as u16), ]) .margin(0) - .split(frame.size()); + .split(frame.area()); let horizontal = Layout::default() .direction(Direction::Horizontal)