Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathmagician8191 committed Jan 26, 2025
1 parent a614260 commit 6274868
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion liberty_chess_gui/src/credits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ fn wikimedia(ui: &mut Ui, name: &str, username: &str) {

fn link(ui: &mut Ui, name: impl Into<WidgetText>, link: impl ToString) {
let name: WidgetText = name.into();
ui.add(Hyperlink::from_label_and_url(name.color(Color32::BLUE), link));
ui.add(Hyperlink::from_label_and_url(
name.color(Color32::BLUE),
link,
));
}

pub(crate) fn draw(gui: &mut LibertyChessGUI, ctx: &Context, ui: &mut Ui) {
Expand Down

0 comments on commit 6274868

Please sign in to comment.