From 7bb2f82fd96b8f7e5b1f65ccf276b8b9b345cbb9 Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Thu, 28 Jan 2021 18:21:33 +0100 Subject: [PATCH] feat(init): set max height on startup --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 590bb3a9b..0b0542fcc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,6 +12,7 @@ register_tile!(State); impl MosaicTile for State { fn init(&mut self) { set_selectable(false); + set_max_height(1); } fn draw(&mut self, _rows: usize, cols: usize) {