UI: show recently selected items at the top of searches #110828
|
@ -17,6 +17,10 @@ struct SearchItem {
|
|||
Span<blender::StringRef> normalized_words;
|
||||
int length;
|
||||
int weight;
|
||||
/**
|
||||
JacquesLucke marked this conversation as resolved
Outdated
|
||||
* This is a logical time stamp, i.e. the greater it is, the more recent the item was used. The
|
||||
* number is not based on an actual clock.
|
||||
*/
|
||||
int recent_time;
|
||||
};
|
||||
|
||||
JacquesLucke marked this conversation as resolved
Outdated
Hans Goudey
commented
`the more recent` -> `the more recently`
|
||||
|
|
Loading…
Reference in New Issue
Worth noting what units this is in & if it can ever be negative.