Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Improve floor selection tooltip in the GridMap editor

Hugo Locurciob2220b8da944
diff --git a/modules/gridmap/editor/grid_map_editor_plugin.cpp b/modules/gridmap/editor/grid_map_editor_plugin.cpp
index a092d7e6e02..85c2c08c3ba 100644
--- a/modules/gridmap/editor/grid_map_editor_plugin.cpp
+++ b/modules/gridmap/editor/grid_map_editor_plugin.cpp
@@ -1610,7 +1610,8 @@ void GridMapEditor::_notification(int p_what) {
case NOTIFICATION_TRANSLATION_CHANGED: {
floor->set_tooltip_text(
- vformat(TTR("Change Grid Floor:\nPrevious Plane (%s)\nNext Plane (%s)"),
+ vformat(TTR("Change Grid Floor (%s + Mouse Wheel):\nPrevious Plane (%s)\nNext Plane (%s)\nCan be done while selecting for multi-floor selections."),
+ keycode_get_string((Key)KeyModifierMask::CMD_OR_CTRL),
ED_GET_SHORTCUT("grid_map/previous_floor")->get_as_text(),
ED_GET_SHORTCUT("grid_map/next_floor")->get_as_text()));