mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-24 02:25:22 +00:00
Add an external link editor icon
This replaces the existing "chainlink" instance icon that was used for external links. That icon is still used for scene instancing. The icon was designed by redlamp. Co-authored-by: Taylor Wright <taylor@redlamp.org>
This commit is contained in:
co-authored by
Taylor Wright
parent
6184c6a338
commit
5626d026d8
@@ -439,7 +439,7 @@ void ShaderEditor::_notification(int p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
PopupMenu *popup = help_menu->get_popup();
|
||||
popup->set_item_icon(popup->get_item_index(HELP_DOCS), get_theme_icon(SNAME("Instance"), SNAME("EditorIcons")));
|
||||
popup->set_item_icon(popup->get_item_index(HELP_DOCS), get_theme_icon(SNAME("ExternalLink"), SNAME("EditorIcons")));
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_WM_WINDOW_FOCUS_IN: {
|
||||
|
||||
Reference in New Issue
Block a user