aboutsummaryrefslogtreecommitdiff
path: root/src/utils.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-04-02 05:46:17 +0100
committerAkshay <[email protected]>2021-04-02 05:46:17 +0100
commit46236d9e2533cc57630548b9a701eb0089cd1293 (patch)
treef1a8174e44a01796d78aa90cfa97a2944cf9abe3 /src/utils.rs
parent84a2475799b711b3bd460bc283d0abb27b9014fd (diff)
keybind F cycles brush instead
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 9859f39..6819e71 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -38,7 +38,7 @@ pub fn draw_text<S: AsRef<str>>(
38 ttf_context: &Sdl2TtfContext, 38 ttf_context: &Sdl2TtfContext,
39 text: S, 39 text: S,
40 color: Color, 40 color: Color,
41 (x, y): (u32, u32), 41 (x, y): (i32, i32),
42) -> u32 { 42) -> u32 {
43 let text = text.as_ref(); 43 let text = text.as_ref();
44 let texture_creator = canvas.texture_creator(); 44 let texture_creator = canvas.texture_creator();