(state: &EditorState, node_type: &str)
| 1213 | }); |
| 1214 | out |
| 1215 | } |
| 1216 | |
| 1217 | pub fn picker_node_row(state: &EditorState, node_type: perro_scene::NodeType) -> String { |
| 1218 | let mut badges = Vec::new(); |
| 1219 | if Some(node_type.name()) == active_asset_node_type(state) { |
| 1220 | badges.push("asset"); |
| 1221 | } |
| 1222 | if recent_node_rank(state, node_type.name()).is_some() { |
| 1223 | badges.push("recent"); |
no test coverage detected