Fix #118066: File Browser List View Tooltips

In File Browser list view show tooltips for both the icon and the name
portion of the line to consistently show them no matter where you hover

Pull Request: https://projects.blender.org/blender/blender/pulls/118071
This commit is contained in:
Harley Acheson
2024-03-14 20:20:50 +01:00
committed by Harley Acheson
parent d6d78953c7
commit 08cd80a284
@@ -1293,6 +1293,10 @@ void file_draw_list(const bContext *C, ARegion *region)
nullptr);
UI_but_dragflag_enable(drag_but, UI_BUT_DRAG_FULL_BUT);
file_but_enable_drag(drag_but, sfile, file, path, nullptr, icon, UI_SCALE_FAC);
UI_but_func_tooltip_custom_set(drag_but,
file_draw_tooltip_custom_func,
file_tooltip_data_create(sfile, file),
MEM_freeN);
}
}