Skip to content

### Bug: Inverted Logic Accepts Invalid Sizes #424

Description

@meyafex

Bug: Inverted Logic Accepts Invalid Sizes

The condition checks if size_int > 2000 or size_int == 0 and then sets the size, which means invalid values (0 or greater than 2000) are accepted while valid values (1-2000) are silently ignored. The logic is inverted - it should set the size when the value is within the valid range (1-2000), not outside of it.

Fix in Cursor Fix in Web

Originally posted by @cursor in #423 (comment)

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