mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Add Ui::hyperlink_to
This commit is contained in:
@@ -93,9 +93,9 @@ impl FractalClock {
|
||||
|
||||
egui::reset_button(ui, self);
|
||||
|
||||
ui.add(
|
||||
Hyperlink::new("http://www.dqd.com/~mayoff/programs/FractalClock/")
|
||||
.text("Inspired by a screensaver by Rob Mayoff"),
|
||||
ui.hyperlink_to(
|
||||
"Inspired by a screensaver by Rob Mayoff",
|
||||
"http://www.dqd.com/~mayoff/programs/FractalClock/",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user