mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 05:04:10 +00:00
Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
This commit is contained in:
commit
514c564a8c
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user