seat-editor 3.2.19 → 3.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -145,6 +145,11 @@ const Layers = ({ components, selectedTable, iconTags, eventMatchTable, onHighli
|
|
|
145
145
|
eventMatchTable === null || eventMatchTable === void 0 ? void 0 : eventMatchTable.forEach((styleConfig) => {
|
|
146
146
|
if (styleConfig.event === eventType) {
|
|
147
147
|
properties = omit(styleConfig.properties || {}, "points");
|
|
148
|
+
const hasStroke = properties === null || properties === void 0 ? void 0 : properties.stroke;
|
|
149
|
+
const hasStrokeWidth = properties === null || properties === void 0 ? void 0 : properties.strokeWidth;
|
|
150
|
+
if (hasStrokeWidth && !hasStroke) {
|
|
151
|
+
properties.stroke = "#E1E3EA";
|
|
152
|
+
}
|
|
148
153
|
}
|
|
149
154
|
});
|
|
150
155
|
if (isEmpty(properties))
|
|
@@ -562,6 +562,7 @@ const LayerView = (props) => {
|
|
|
562
562
|
touchAction: "none",
|
|
563
563
|
userSelect: "none",
|
|
564
564
|
}} {...props.svgProps}>
|
|
565
|
+
|
|
565
566
|
{hasBoundingBox && (<defs>
|
|
566
567
|
<clipPath id="contentCrop">
|
|
567
568
|
<rect x={boundingBox.minX} y={boundingBox.minY} width={boundingBox.width} height={boundingBox.height}/>
|