Skip to content

Merge main fixes into 1.3.7#90

Open
Cranezz wants to merge 4 commits into1.3.7from
merge/main-into-1.3.7
Open

Merge main fixes into 1.3.7#90
Cranezz wants to merge 4 commits into1.3.7from
merge/main-into-1.3.7

Conversation

@Cranezz
Copy link
Copy Markdown
Collaborator

@Cranezz Cranezz commented Mar 3, 2026

No description provided.

Cranezz and others added 4 commits March 3, 2026 09:28
Clamping now only applies when the user finishes editing (onEndEdit),
not on every keystroke (onValueChanged). Previously, typing a value
like 12.2 would instantly snap back to 12 because 12.2 exceeded the
max limit before the full decimal was entered.

Also replaced float.Parse with float.TryParse throughout to prevent
crashes on malformed input. Added XML doc comments for future contributors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The Param Display prefab had m_CharacterLimit set to 3, which meant
users could only type 3 characters (e.g. "2.5" or "12") and could not
enter values like "2.564" or "12.2" even when under the allowed range.
Changed to 0 (unlimited) so any valid decimal can be entered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant