@botmock/editor
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,3 +6,3 @@ import "../../styling/block.less"; | ||
const connectorArrowPadding = 20; | ||
const connectorArrowPadding = 40; | ||
const minWidth = 200; | ||
@@ -9,0 +9,0 @@ const minHeight = 100; |
@@ -43,3 +43,4 @@ import "../../styling/connector.less"; | ||
).length || | ||
JSON.stringify(this.props.label) !== JSON.stringify(nextProps.label) | ||
JSON.stringify(this.props.label) !== JSON.stringify(nextProps.label) || | ||
nextProps.hovering !== this.props.hovering | ||
); | ||
@@ -379,3 +380,7 @@ } | ||
key={"ss" + i} | ||
className="connector-path-shadow transparent" | ||
className={classNames({ | ||
"connector-path-shadow": true, | ||
"transparent": this.props.hovering !== (i - 1), | ||
"hovering-shadow": this.props.hovering === (i - 1)//this.props.hovering | ||
})} | ||
d={`M${segmentPoints[i - 1][0]} ${ | ||
@@ -382,0 +387,0 @@ segmentPoints[i - 1][1] |
{ | ||
"name": "@botmock/editor", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Botmock Editor", | ||
@@ -5,0 +5,0 @@ "main": "output/editor.esm.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
393050
9793