Skip to content

Commit

Permalink
fix: line transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
salam99823 committed Dec 2, 2024
1 parent ac1a5a5 commit 702d7ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/bevy-image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fn draw_png(image: &Image, img_path: &str) {
a: 0xff,
}),
&StrokeStyle {
width: 1.,
width: scale as f32,
..StrokeStyle::default()
},
&DrawOptions::new(),
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamic-image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn draw_png(img_path: &str) {
a: 0xff,
}),
&StrokeStyle {
width: 1.,
width: scale as f32,
..StrokeStyle::default()
},
&DrawOptions::new(),
Expand Down

0 comments on commit 702d7ef

Please sign in to comment.