Skip to content

Commit

Permalink
wip demo site
Browse files Browse the repository at this point in the history
  • Loading branch information
cyypherus committed Sep 14, 2024
1 parent e77a677 commit 22d5b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo-site/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ fn icon(image: impl Into<ImageSource<'static>> + 'static) -> Node<Ui> {
})
}

fn multiline_label<S: AsRef<str> + 'static>(ui: &'_ mut Ui, text: S, size: f32) -> Node<Ui> {
fn multiline_label<S: AsRef<str> + 'static>(_ui: &'_ mut Ui, text: S, size: f32) -> Node<Ui> {
draw(move |area, ui: &mut Ui| {
let layout_job = LayoutJob::single_section(
text.as_ref().to_string(),
Expand Down

0 comments on commit 22d5b9d

Please sign in to comment.