Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Warn about Id clashes for Grid, Plot, ScrollArea, Table #1452

Merged
merged 1 commit into from
Apr 4, 2022

Commits on Apr 4, 2022

  1. Warn about Id clashes for Grid, Plot, ScrollArea, Table

    Id clashes can cause subtle bugs.
    
    egui already warns when the same Id is used to interact with different
    parts of the screen.
    
    This adds warnings about id clashes for some widgets that store state:
    Grid, Plot, ScrollArea, Table.
    
    The PR also adds `Context::check_for_id_clash` so users who create
    their own widgets can add the same type of check.
    emilk committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    d4b2e34 View commit details
    Browse the repository at this point in the history