kopia lustrzana https://github.com/Tldraw/Tldraw
[fix] SVG export for arrows with labels but no arrowheads (#1229)
This PR fixes a bug where arrow shapes without arrowheads would not mask their labels when exporting images.pull/1195/head
rodzic
dc16ae1b12
commit
f315ea2250
|
@ -918,7 +918,7 @@ export class TLArrowUtil extends TLShapeUtil<TLArrowShape> {
|
|||
const maskId = (shape.id + '_clip').replace(':', '_')
|
||||
|
||||
// If we have any arrowheads, then mask the arrowheads
|
||||
if (as || ae) {
|
||||
if (as || ae || labelSize) {
|
||||
// Create mask for arrowheads
|
||||
|
||||
// Create defs
|
||||
|
|
Ładowanie…
Reference in New Issue