@jiaminghi/c-render
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -0,1 +1,7 @@ | ||
# 0.2.1-alpha (2019-04-24) | ||
### Bug Fixes | ||
- **CRender:** Initializing the canvas without setting its width and height attributes causes the drawing to be abnormal. | ||
# 0.2.0-alpha (2019-04-15) | ||
@@ -2,0 +8,0 @@ |
@@ -27,2 +27,5 @@ import color from '@jiaminghi/color' | ||
canvas.setAttribute('width', clientWidth) | ||
canvas.setAttribute('height', clientHeight) | ||
/** | ||
@@ -29,0 +32,0 @@ * @description Context of the canvas |
{ | ||
"name": "@jiaminghi/c-render", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "JiaMing <743192023@qq.com>", | ||
@@ -5,0 +5,0 @@ "description": "Canvas-based vector graphics rendering plugin", |
@@ -405,3 +405,3 @@ <h1 align="center">CRender</h1> | ||
* for the next animation request | ||
* @return {Undefined} Void | ||
* @return {Promise} Animation Promise | ||
*/ | ||
@@ -463,3 +463,3 @@ Graph.prototype.animation = async function (attrName, change, wait = false) { | ||
The current graph instance will be passed in as a parameter,and the mousemove event will also be passed to beeforeMove and moved. | ||
The current graph instance will be passed in as a parameter,and the mousemove event will also be passed to beforeMove and moved. | ||
@@ -1482,3 +1482,3 @@ <h3 align="center">Class Style</h3> | ||
* @description Moving graph,support for drag | ||
* @param {Event} Mouse move Event (Called when adding a graphic, the value is null) | ||
* @param {Event} Mouse move Event | ||
* @param {Graph} Current graph instance | ||
@@ -1485,0 +1485,0 @@ * @return {Undefined} Void |
Sorry, the diff of this file is not supported yet
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
125502
1647
0