diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-03 16:14:08 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-03 16:14:08 +0200 |
commit | 514c564a8c855d798ec6b5a52860e5bca8d57bc9 (patch) | |
tree | e6ad02fc4a8d9708b6dfd6caebf9bf7ca749777b | |
parent | a985d5960358466050612e95918bb5ba59fe6f43 (diff) | |
parent | edba5edcb87ab5ee9bf9dd6dc4136c66bfc7fd3f (diff) | |
download | redot-engine-514c564a8c855d798ec6b5a52860e5bca8d57bc9.tar.gz |
Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 | ||||
-rw-r--r-- | editor/plugins/shader_editor_plugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 4c7385bada..93c8ae5438 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -4309,7 +4309,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) { make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true)); if (!make_floating->is_disabled()) { // Override default ScreenSelect tooltip if multi-window support is available. - make_floating->set_tooltip_text(TTR("Make the script editor floating.")); + make_floating->set_tooltip_text(TTR("Make the script editor floating.\nRight-click to open the screen selector.")); } menu_hb->add_child(make_floating); diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index ea049756b7..597ef49004 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -802,7 +802,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() { make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true)); if (!make_floating->is_disabled()) { // Override default ScreenSelect tooltip if multi-window support is available. - make_floating->set_tooltip_text(TTR("Make the shader editor floating.")); + make_floating->set_tooltip_text(TTR("Make the shader editor floating.\nRight-click to open the screen selector.")); } menu_hb->add_child(make_floating); |