Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent accidental script modifications on error #79517

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jul 15, 2023

Fixes #21812
Closes godotengine/godot-proposals#8834
Will not work until #79516 is resolved, but feel free to review whether the approach makes sense.

@Calinou
Copy link
Member

Calinou commented Jan 8, 2024

I'd suggest using a timer as well to prevent new keys that are pressed from being sent to the editor just after a script error occurs, in case you're currently typing something in the running project. This would be a timer with a short duration like 0.25 seconds or so, just to prevent accidental keypresses (this duration roughly represents human reaction speed).

@KoBeWi KoBeWi force-pushed the stop_this_madnesssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss branch from 69ef6f8 to ce6d5c0 Compare January 12, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment