Skip to content

Bug in MapGradientTheme - the step range of the gradient increases with every iteration #11

Description

@StephanBrummack

There seems to be a bug in the MapGradientTheme.
line 96 of map_gradient_theme.dart
double currentStepRange = (stepIndex * stepSize) + stepSize;

should read
double currentStepRange = stepSize;

You can test it with 3 or more colors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions