UI: Asset Shelf (Experimental Feature) #104831

Closed
Julian Eisel wants to merge 399 commits from asset-shelf into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 182deed791 - Show all commits

View File

@ -4652,6 +4652,9 @@ static uiWidgetType *widget_type(uiWidgetTypeEnum type)
wt.draw = nullptr;
/* Drawn via the `custom` callback. */
wt.text = nullptr;
/* Use a more calm state for text drawing. The preview tile background already indicates the
* state well. */
wt.state = widget_state_label;
wt.custom = widget_preview_tile;
wt.wcol_theme = &btheme->tui.wcol_list_item;
break;