Skip to content

Commit b6451a7

Browse files
committed
Don't show the blue outline when bloburl set
1 parent 81e1f6f commit b6451a7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

document-legacy/src/layers/nodegraph_layer.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,15 @@ impl LayerData for NodeGraphFrameLayer {
6565
blob_url,
6666
matrix
6767
);
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+
);
6876
}
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-
);
7677

7778
let _ = svg.write_str(r#"</g>"#);
7879
}

0 commit comments

Comments
 (0)