mirror of https://github.com/godotengine/godot
Makes embed floating window respect always on top
This commit is contained in:
parent
937fccf24d
commit
afe47b6850
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue