Jelajahi Sumber

Added tooltip for a few buttons in sample library editor

Tybobobo 10 tahun lalu
induk
melakukan
c1c2fef23e
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      tools/editor/plugins/sample_library_editor_plugin.cpp

+ 4 - 0
tools/editor/plugins/sample_library_editor_plugin.cpp

@@ -49,9 +49,13 @@ void SampleLibraryEditor::_notification(int p_what) {
 
 	if (p_what==NOTIFICATION_ENTER_TREE) {
 		play->set_icon( get_icon("Play","EditorIcons") );
+		play->set_tooltip("Play Sample");
 		stop->set_icon( get_icon("Stop","EditorIcons") );
+		stop->set_tooltip("Stop Sample");
 		load->set_icon( get_icon("Folder","EditorIcons") );
+		load->set_tooltip("Open Sample File(s)");
 		_delete->set_icon( get_icon("Del","EditorIcons") );
+		_delete->set_tooltip("Remove Sample");
 	}
 
 	if (p_what==NOTIFICATION_READY) {