Socket
Socket
Sign inDemoInstall

@jiaminghi/c-render

Package Overview
Dependencies
5
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

6

CHANGELOG.md

@@ -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 @@

3

class/crender.class.js

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc