We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81e1f6f commit b6451a7Copy full SHA for b6451a7
document-legacy/src/layers/nodegraph_layer.rs
@@ -65,14 +65,15 @@ impl LayerData for NodeGraphFrameLayer {
65
blob_url,
66
matrix
67
);
68
+ } else {
69
+ let _ = write!(
70
+ svg,
71
+ r#"<rect width="{}" height="{}" fill="none" stroke="var(--color-data-vector)" stroke-width="3" stroke-dasharray="8" transform="matrix({})" />"#,
72
+ width.abs(),
73
+ height.abs(),
74
+ matrix,
75
+ );
76
}
- 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,
- );
77
78
let _ = svg.write_str(r#"</g>"#);
79
0 commit comments