Tagging: Only create a popup for the first match (same rule as do_replacements())

This commit is contained in:
Bu5hm4nn 2024-04-15 14:21:34 -06:00 committed by Mike Dilger
parent 967683959e
commit 7d7057c724

View File

@ -798,6 +798,7 @@ fn calc_tag_hovers(ui: &mut Ui, app: &mut GossipUi, output: &TextEditOutput) {
);
hovers.insert(popup_id, popup);
break; // only one popup per tag, first match wins
}
}
}