shell/tiling: Make gaps configurable
This commit is contained in:
parent
4bf2c8df79
commit
b53e5cae6e
4 changed files with 53 additions and 17 deletions
|
|
@ -248,9 +248,9 @@ impl Data {
|
|||
}
|
||||
|
||||
impl TilingLayout {
|
||||
pub fn new() -> TilingLayout {
|
||||
pub fn new(gaps: (u8, u8)) -> TilingLayout {
|
||||
TilingLayout {
|
||||
gaps: (0, 4),
|
||||
gaps: (gaps.0 as i32, gaps.1 as i32),
|
||||
trees: HashMap::new(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue