mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Update most Rust dependencies (#2259)
This commit is contained in:
@@ -507,7 +507,7 @@ fn noise_pattern(
|
||||
for y in 0..height {
|
||||
for x in 0..width {
|
||||
let pixel = image.get_pixel_mut(x, y).unwrap();
|
||||
let luminance = rng.gen_range(0.0..1.) as f32;
|
||||
let luminance = rng.random_range(0.0..1.) as f32;
|
||||
*pixel = Color::from_luminance(luminance);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user