1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Fix slow resize Embedded Game Window

This commit is contained in:
Hilderin
2025-01-31 12:02:06 -05:00
parent 1586c5674b
commit 65e14fd16b
3 changed files with 35 additions and 23 deletions

View File

@@ -48,6 +48,7 @@ class EmbeddedProcess : public Control {
Window *window = nullptr;
Timer *timer_embedding = nullptr;
Timer *timer_update_embedded_process = nullptr;
const int embedding_timeout = 45000;
@@ -61,6 +62,7 @@ class EmbeddedProcess : public Control {
void _try_embed_process();
void _update_embedded_process();
void _timer_embedding_timeout();
void _timer_update_embedded_process_timeout();
void _draw();
void _check_mouse_over();
void _check_focused_process_id();