Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Some layouts return more rects than windows #18

Closed
hertg opened this issue Jun 4, 2023 · 0 comments
Closed

Some layouts return more rects than windows #18

hertg opened this issue Jun 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hertg
Copy link
Member

hertg commented Jun 4, 2023

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.

@hertg hertg added the bug Something isn't working label Jun 4, 2023
@hertg hertg self-assigned this Jun 4, 2023
@hertg hertg closed this as completed in b858e16 Jun 4, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant