mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Makes embed floating window respect always on top
This commit is contained in:
parent
937fccf24d
commit
afe47b6850
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue