Skip to content

Commit 514c564

Browse files
committed
Merge pull request godotengine#96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
2 parents a985d59 + edba5ed commit 514c564

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

editor/plugins/script_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4309,7 +4309,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
43094309
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
43104310
if (!make_floating->is_disabled()) {
43114311
// Override default ScreenSelect tooltip if multi-window support is available.
4312-
make_floating->set_tooltip_text(TTR("Make the script editor floating."));
4312+
make_floating->set_tooltip_text(TTR("Make the script editor floating.\nRight-click to open the screen selector."));
43134313
}
43144314

43154315
menu_hb->add_child(make_floating);

editor/plugins/shader_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
802802
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
803803
if (!make_floating->is_disabled()) {
804804
// Override default ScreenSelect tooltip if multi-window support is available.
805-
make_floating->set_tooltip_text(TTR("Make the shader editor floating."));
805+
make_floating->set_tooltip_text(TTR("Make the shader editor floating.\nRight-click to open the screen selector."));
806806
}
807807

808808
menu_hb->add_child(make_floating);

0 commit comments

Comments
 (0)