add TODO comment

This commit is contained in:
Simon Gardling 2022-04-20 09:35:48 -04:00
parent 2980659231
commit 44e8e75aed

View File

@ -109,6 +109,8 @@ impl FunctionEntry {
let mut new_string = self.autocomplete.string.clone(); let mut new_string = self.autocomplete.string.clone();
let te_id = ui.make_persistent_id(format!("text_edit_ac_{}", i)); let te_id = ui.make_persistent_id(format!("text_edit_ac_{}", i));
// TODO: cache this
let row_height = ui let row_height = ui
.fonts() .fonts()
.row_height(&egui::FontSelection::default().resolve(ui.style())); .row_height(&egui::FontSelection::default().resolve(ui.style()));