diff --git a/.vscode/settings.json b/.vscode/settings.json index 4d62f724..2c38a589 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,6 +4,7 @@ "elif", "gcsafe", "gdexport", + "gdnew", "gdobj", "gdutils", "godotapi", diff --git a/src/models/states.nim b/src/models/states.nim index 612eca0b..129fd868 100644 --- a/src/models/states.nim +++ b/src/models/states.nim @@ -43,6 +43,7 @@ proc resolve_flags*( result.incl(MouseCaptured) for flag in groups[0]: result.excl(flag) + result.incl(ViewportFocused) else: if EditorVisible in result or DocsVisible in result or SettingsVisible in result: