Skip to content

Some layouts return more rects than windows #18

@hertg

Description

@hertg

Found the issue while testing in a MainAndStack like layout that may have multiple main windows but only one window is provided.

Layout {
    name: "MultiMain".to_string(),
    columns: Columns {
        main: Some(crate::layouts::Main {
            count: 2,
            ..Default::default()
        }),
        ..Default::default()
    },
    ..Default::default()
}

Using this layout with a single window should return just one Rect, not two.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions