Skip to content

fix: normalize min/max bounds when min > max#267

Merged
andreruffert merged 1 commit intomainfrom
normalize-min-max-bounds
Feb 20, 2026
Merged

fix: normalize min/max bounds when min > max#267
andreruffert merged 1 commit intomainfrom
normalize-min-max-bounds

Conversation

@andreruffert
Copy link
Owner

What changed (additional context)

  • Normalize range bounds before clamping values
  • Fix incorrect clamping when min is greater than max
  • Ensure negative and reversed ranges behave correctly

@andreruffert andreruffert added the bug Something isn't working label Feb 20, 2026
- Normalize range bounds before clamping values
- Fix incorrect clamping when min is greater than max
- Ensure negative and reversed ranges behave correctly
@andreruffert andreruffert force-pushed the normalize-min-max-bounds branch from e244e69 to da7b5d3 Compare February 20, 2026 11:00
@andreruffert andreruffert merged commit 6329d00 into main Feb 20, 2026
1 check passed
@andreruffert andreruffert deleted the normalize-min-max-bounds branch February 20, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant