Skip to content

[pull] master from monkeytypegame:master#951

Merged
pull[bot] merged 2 commits into
Uncodedtech:masterfrom
monkeytypegame:master
Jul 9, 2026
Merged

[pull] master from monkeytypegame:master#951
pull[bot] merged 2 commits into
Uncodedtech:masterfrom
monkeytypegame:master

Conversation

@pull

@pull pull Bot commented Jul 9, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Rajparikh18 and others added 2 commits July 9, 2026 12:13
### Description
 Fixes: #8119 
 
Problem

The FPS input was resetting, even after giving input to it and saving
it, once the page is refreshed it shows empty field there again.

Cause

The FPS input always shows empty field , just because the by default
value of the fpsLimit is an empty string ( "")

Fix

Updated the FPS input handling by adding String(getfpsLimit()) this
instead of "" so that valid user-entered values are preserved instead of
being reset. The input now correctly reflects the saved FPS value after
interacting with the field.

`
defaultValues: {
      fpsLimit: String(getfpsLimit()),
    },
`

Testing
Open Settings and search for "animation fps limit".
Enter a custom FPS value.
Click away from the input.
Once it is saved,
Refresh the page and verify that the saved value is still displayed
correctly.


EDIT: addressed the issue , added a conditional statement, so that the
input will not show 1000 and added a if statement to remove the "must be
a number" error when selected native

---------

Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jul 9, 2026
@pull pull Bot added the ⤵️ pull label Jul 9, 2026
@pull pull Bot merged commit caf2aa2 into Uncodedtech:master Jul 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants