Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set timeline resource tooltip to its path in side bar #2295

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions addons/dialogic/Editor/Common/sidebar.gd
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func update_resource_list(resources_list:PackedStringArray = []) -> void:
if filter.is_empty() or filter.to_lower() in timeline_name.to_lower():
%ResourcesList.add_item(timeline_name, get_theme_icon("TripleBar", "EditorIcons"))
%ResourcesList.set_item_metadata(idx, timeline_directory[timeline_name])
%ResourcesList.set_item_tooltip(idx, timeline_directory[timeline_name])
if timeline_directory[timeline_name] == current_file:
%ResourcesList.select(idx)
%ResourcesList.set_item_custom_fg_color(idx, get_theme_color("accent_color", "Editor"))
Expand Down
Loading