Skip to content

Fix clamped does nothing#86

Closed
766974616c79 wants to merge 1 commit intoFacepunch:masterfrom
766974616c79:clamped-does-nothing
Closed

Fix clamped does nothing#86
766974616c79 wants to merge 1 commit intoFacepunch:masterfrom
766974616c79:clamped-does-nothing

Conversation

@766974616c79
Copy link
Copy Markdown
Contributor

The clamped parameter of the FloatControlWidget.MakeRanged() function does nothing. My PR fixes this by checking the value of the variable before clamping the value.

Resolves #933

@handsomematt handsomematt added the triaged triaged pull-requests are replicated on the internal sbox repo label Dec 4, 2025
@sboxbot sboxbot added the accepted this pull request was accepted, hurrah! label Dec 4, 2025
@sboxbot
Copy link
Copy Markdown
Contributor

sboxbot commented Dec 4, 2025

This PR has been merged upstream.

@sboxbot sboxbot closed this Dec 4, 2025
@766974616c79 766974616c79 deleted the clamped-does-nothing branch December 5, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted this pull request was accepted, hurrah! triaged triaged pull-requests are replicated on the internal sbox repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor: The FloatControlWidget.MakeRanged() Method's clamped Parameter Does Nothing

3 participants