You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #103731 from GustJc/embed_pause_hotkeys
Make embed floating window respect `Always On Top` configuration
This commit is contained in:
@@ -366,6 +366,9 @@ void GameView::_stop_pressed() {
|
|||||||
void GameView::_embedding_completed() {
|
void GameView::_embedding_completed() {
|
||||||
_attach_script_debugger();
|
_attach_script_debugger();
|
||||||
_update_ui();
|
_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() {
|
void GameView::_embedding_failed() {
|
||||||
|
|||||||
Reference in New Issue
Block a user