Before font remake
This commit is contained in:
@@ -308,6 +308,7 @@ impl DictionaryState {
|
||||
}
|
||||
|
||||
fn words_list(&self) -> iced::Element<'_, DictionaryMessage> {
|
||||
let time = Instant::now();
|
||||
let mut col = Column::new().width(Length::Fill);
|
||||
|
||||
let mut range = (0..self.include_map.len()).collect::<Vec<_>>();
|
||||
@@ -389,6 +390,7 @@ impl DictionaryState {
|
||||
col = col.push(line);
|
||||
}
|
||||
|
||||
println!("Words rendering time: {:?}", time.elapsed());
|
||||
scrollable(col).height(Length::Fill).into()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user