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

Makes embed floating window respect always on top

This commit is contained in:
Gustavo Jaruga Cruz
2025-03-06 20:01:46 -03:00
parent 937fccf24d
commit afe47b6850

View File

@@ -337,6 +337,9 @@ void GameView::_stop_pressed() {
void GameView::_embedding_completed() {
_attach_script_debugger();
_update_ui();
if (make_floating_on_play) {
get_window()->set_flag(Window::FLAG_ALWAYS_ON_TOP, bool(GLOBAL_GET("display/window/size/always_on_top")));
}
}
void GameView::_embedding_failed() {