@jiaminghi/c-render
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -0,1 +1,7 @@ | ||
# 0.3.6-alpha (2019-06-12) | ||
### Bug Fixes | ||
- **Event:** `Click` callback is not responding. | ||
# 0.3.5-alpha (2019-06-10) | ||
@@ -2,0 +8,0 @@ |
@@ -313,3 +313,3 @@ "use strict"; | ||
}); | ||
if (!hoverGraph || !hoverGraph.drag) return; | ||
if (!hoverGraph) return; | ||
hoverGraph.status = 'active'; | ||
@@ -333,2 +333,4 @@ } | ||
if (activeGraph) { | ||
if (!activeGraph.drag) return; | ||
if (typeof activeGraph.move !== 'function') { | ||
@@ -403,3 +405,3 @@ console.error('No move method is provided, cannot be dragged!'); | ||
graphs.forEach(function (graph) { | ||
return graph.status = 'static'; | ||
return graph && (graph.status = 'static'); | ||
}); | ||
@@ -406,0 +408,0 @@ if (activeGraph) activeGraph.status = 'hover'; |
{ | ||
"name": "@jiaminghi/c-render", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"author": "JiaMing <743192023@qq.com>", | ||
@@ -5,0 +5,0 @@ "description": "Canvas-based vector graphics rendering plugin", |
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
132725
2537