Fix: using wrong text position, introduced when porting to new egui

This commit is contained in:
Bu5hm4nn 2024-02-11 23:14:47 -06:00
parent 8192456aac
commit f39877204e

View File

@ -334,7 +334,7 @@ impl RelayEntry {
.layout()
.align_size_within_rect(galley.size(), btn_rect.shrink2(2.0 * button_padding))
.min;
ui.painter().galley(pos, galley, visuals.text_color());
ui.painter().galley(text_pos, galley, visuals.text_color());
if response.clicked() {
self.view = RelayEntryView::Detail;