aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pixel-client/src/ui.rs')
-rw-r--r--pixel-client/src/ui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixel-client/src/ui.rs b/pixel-client/src/ui.rs
index 9e3e1a3e..a77d2856 100644
--- a/pixel-client/src/ui.rs
+++ b/pixel-client/src/ui.rs
@@ -204,7 +204,7 @@ impl<'a, 'b> Ui<'a, 'b> {
let margin = Vec2::splat(4.);
let text_size = self
.renderer
- .draw_text(self.cursor + margin, &content, 1., None);
+ .draw_text(self.cursor + margin, content, 1., None);
let size = margin + Vec2::new(w, text_size.y) + margin;
self.index += 1;