Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency update #182

Merged
merged 18 commits into from
Aug 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clippy fix in scribbles
FrostyCoolSlug committed Aug 1, 2024
commit bd1a17ef598ceaee49b05b4b7e10e8a00f8e48e6
2 changes: 1 addition & 1 deletion scribbles/src/lib.rs
Original file line number Diff line number Diff line change
@@ -132,7 +132,7 @@ fn create_text_image(text: &str) -> Result<DynamicImage> {
let (width, _height) = text_size(scale, &draw_font, text);
let draw_width = if width < 128 { width } else { 128 };

let mut image = DynamicImage::new_rgb8(draw_width as u32, 19);
let mut image = DynamicImage::new_rgb8(draw_width, 19);
image
.clone()
.pixels()