Merge pull request #1 from mosaic-org/max-height
feat(init): set max height on startup
This commit is contained in:
commit
31b415e391
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue