mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-07 12:05:34 +00:00
clippy
This commit is contained in:
parent
6d398039d3
commit
a55c7f0311
@ -41,6 +41,7 @@ impl Layout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// TODO: add diagram
|
/// TODO: add diagram
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn all_panes_centered(dimensions: Dimensions, area: Rect) -> Self {
|
pub fn all_panes_centered(dimensions: Dimensions, area: Rect) -> Self {
|
||||||
let main_block = centered_rect(dimensions.x, dimensions.y, area);
|
let main_block = centered_rect(dimensions.x, dimensions.y, area);
|
||||||
// split the main block into two vertical chunks
|
// split the main block into two vertical chunks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user