Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Game still getting focus when attempting to edit multiple values #12

Closed
Opinion opened this issue Nov 11, 2022 · 1 comment · Fixed by #13
Closed

Game still getting focus when attempting to edit multiple values #12

Opinion opened this issue Nov 11, 2022 · 1 comment · Fixed by #13
Assignees
Labels
bug Something isn't working

Comments

@Opinion
Copy link
Owner

Opinion commented Nov 11, 2022

After the 1.3 release I was surprised when I noticed the auto focus fix was no longer working.
A quick fix might be to add 100 ms delay before updating the input. Everything else from #8 should work fine.

setTimeout(() => {
    /* Insert code to update handling here.... */
}, 100)
@Opinion Opinion added the bug Something isn't working label Nov 11, 2022
@Opinion Opinion self-assigned this Nov 11, 2022
@Opinion Opinion added this to the Userscript v1.4 milestone Nov 11, 2022
@Opinion
Copy link
Owner Author

Opinion commented Nov 11, 2022

I swear the old fix was working. I have no idea why it suddenly isn't working anymore..
Possibly something to do with having the console open (wild guess)?

Anyways this should be a quick fix.

Opinion added a commit that referenced this issue Nov 11, 2022
@Opinion Opinion closed this as completed Nov 11, 2022
@Opinion Opinion linked a pull request Nov 21, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant