feat(init): set max height on startup

This commit is contained in:
Aram Drevekenin 2021-01-28 18:21:33 +01:00
parent 50c3038731
commit 7bb2f82fd9

View File

@ -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) {