Skip to content

Fix Slider value coercion when Maximum changes - #3399

Merged
xen2 merged 1 commit into
stride3d:masterfrom
phcodesage:master
Sep 8, 2026
Merged

xen2 merged 1 commit into
stride3d:masterfrom
phcodesage:master

Conversation

@phcodesage

Copy link
Copy Markdown
Contributor

Summary

Re-coerce Slider.Value after Maximum changes so the value remains within the updated bounds.

Changes

  • Re-coerce Value in Slider maximum coercion.
  • Add regression coverage for bounds changes, ValueChanged event counts, and tick snapping.

Testing

  • Stride.UI.Tests: 209 passed, 5 skipped, 0 failed.
  • Full Stride.slnx run completed on macOS arm64 but reported unrelated platform and sample failures: asset tests, audio/sample screenshot tests, missing x64 .NET host, and an editor GameForm compile issue.

@phcodesage

Copy link
Copy Markdown
Contributor Author

@dotnet-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants