You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Added tooltip for a few buttons in sample library editor
This commit is contained in:
committed by
Rémi Verschelde
parent
5db5255260
commit
c1c2fef23e
@@ -49,9 +49,13 @@ void SampleLibraryEditor::_notification(int p_what) {
|
|||||||
|
|
||||||
if (p_what==NOTIFICATION_ENTER_TREE) {
|
if (p_what==NOTIFICATION_ENTER_TREE) {
|
||||||
play->set_icon( get_icon("Play","EditorIcons") );
|
play->set_icon( get_icon("Play","EditorIcons") );
|
||||||
|
play->set_tooltip("Play Sample");
|
||||||
stop->set_icon( get_icon("Stop","EditorIcons") );
|
stop->set_icon( get_icon("Stop","EditorIcons") );
|
||||||
|
stop->set_tooltip("Stop Sample");
|
||||||
load->set_icon( get_icon("Folder","EditorIcons") );
|
load->set_icon( get_icon("Folder","EditorIcons") );
|
||||||
|
load->set_tooltip("Open Sample File(s)");
|
||||||
_delete->set_icon( get_icon("Del","EditorIcons") );
|
_delete->set_icon( get_icon("Del","EditorIcons") );
|
||||||
|
_delete->set_tooltip("Remove Sample");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p_what==NOTIFICATION_READY) {
|
if (p_what==NOTIFICATION_READY) {
|
||||||
|
|||||||
Reference in New Issue
Block a user