Tweak circle size.
This commit is contained in:
parent
9a1837896e
commit
18d19fac01
@ -43,7 +43,7 @@ pub fn svgify(input: &DynamicImage) -> Result<impl Node, PerlerError> {
|
|||||||
let [r, g, b, a] = p.0;
|
let [r, g, b, a] = p.0;
|
||||||
if a == 255 {
|
if a == 255 {
|
||||||
let color = format!("#{:02x}{:02x}{:02x}", r, g, b);
|
let color = format!("#{:02x}{:02x}{:02x}", r, g, b);
|
||||||
c.set("fill", color).set("r", 2.4)
|
c.set("fill", color).set("r", 2.5)
|
||||||
} else {
|
} else {
|
||||||
c.set("fill", "none").set("r", 0.5)
|
c.set("fill", "none").set("r", 0.5)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user