Fix needless borrow in tiny_skia::backend
This commit is contained in:
parent
c888d0679b
commit
ccf7d1994f
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ impl Backend {
|
||||||
}
|
}
|
||||||
Background::Gradient(Gradient::Linear(linear)) => {
|
Background::Gradient(Gradient::Linear(linear)) => {
|
||||||
let (start, end) =
|
let (start, end) =
|
||||||
linear.angle.to_distance(&bounds);
|
linear.angle.to_distance(bounds);
|
||||||
|
|
||||||
let stops: Vec<tiny_skia::GradientStop> =
|
let stops: Vec<tiny_skia::GradientStop> =
|
||||||
linear
|
linear
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue