Skip to content

index out of bounds panic when modifying table demo column countΒ #23

Open
@landaire

Description

@landaire

If you go to https://rerun-io.github.io/egui_table/ and modify columns to be a value at or below 12 the application will crash with the following error in the console log:

panicked at egui_table/src/table.rs:542:73:
index out of bounds: the len is 12 but the index is 12

At the time of writing that line corresponds to:

Rect::from_x_y_ranges(self.col_x[start]..=self.col_x[end], y_range)

I haven't had time to dive into this yet, but seeing as it's a panic in the core table code and rather than the demo I wanted to create an issue until I can look further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions