mirror of
https://github.com/VisActor/VTable
synced 2024-11-22 01:52:03 +00:00
fix: fix border rect missing when borderLineWidth is 0
This commit is contained in:
parent
cbaed83b00
commit
9e6e7ffbf0
@ -0,0 +1,10 @@
|
||||
{
|
||||
"changes": [
|
||||
{
|
||||
"packageName": "@visactor/vtable",
|
||||
"comment": "fix: fix border rect missing when borderLineWidth is 0",
|
||||
"type": "none"
|
||||
}
|
||||
],
|
||||
"packageName": "@visactor/vtable"
|
||||
}
|
@ -208,6 +208,14 @@ export function createFrameBorder(
|
||||
group.addChild(borderRect);
|
||||
(group as any).border = borderRect;
|
||||
}
|
||||
} else {
|
||||
const borderRect = createRect({
|
||||
fill: false,
|
||||
stroke: false
|
||||
});
|
||||
borderRect.name = 'border-rect';
|
||||
group.addChild(borderRect);
|
||||
(group as any).border = borderRect;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user