Don't show the blue outline when bloburl is set (#937)

This commit is contained in:
0HyperCube 2023-01-03 10:05:46 +00:00 committed by Keavon Chambers
parent 5ca6b3fafa
commit cd8a897b96
1 changed files with 8 additions and 7 deletions

View File

@ -65,14 +65,15 @@ impl LayerData for NodeGraphFrameLayer {
blob_url,
matrix
);
} else {
let _ = write!(
svg,
r#"<rect width="{}" height="{}" fill="none" stroke="var(--color-data-vector)" stroke-width="3" stroke-dasharray="8" transform="matrix({})" />"#,
width.abs(),
height.abs(),
matrix,
);
}
let _ = write!(
svg,
r#"<rect width="{}" height="{}" fill="none" stroke="var(--color-data-vector)" stroke-width="3" stroke-dasharray="8" transform="matrix({})" />"#,
width.abs(),
height.abs(),
matrix,
);
let _ = svg.write_str(r#"</g>"#);