feat(init): set max height on startup
This commit is contained in:
parent
50c3038731
commit
7bb2f82fd9
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ register_tile!(State);
|
||||||
impl MosaicTile for State {
|
impl MosaicTile for State {
|
||||||
fn init(&mut self) {
|
fn init(&mut self) {
|
||||||
set_selectable(false);
|
set_selectable(false);
|
||||||
|
set_max_height(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn draw(&mut self, _rows: usize, cols: usize) {
|
fn draw(&mut self, _rows: usize, cols: usize) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue