Skip to content

Commit

Permalink
feat: 修复progressive默认参数
Browse files Browse the repository at this point in the history
  • Loading branch information
l-x-f committed Aug 18, 2022
1 parent e3efcaf commit 54a6879
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auto-drawing",
"version": "0.1.0",
"version": "0.1.1",
"description": "auto-drawing based zrender",
"types": "dist/index.d.ts",
"module": "dist/auto-drawing.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type ZRenderGroup = Group & { params?: Record<string, any> }
*/
export type CommonType = {
/**
* 旋转的角度。 zender是弧度 这里已经做了装换 转成了角度 默认 0
* 旋转的角度。 zender是弧度 这里已经做了转换 转成了角度 默认 0
*/
rotation: number
/**
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getCommonParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const getCommonParams = (options?: Record<string, any>) => {
/**
* 是否渐进式渲染。当图形元素过多时才使用,用大于 0 的数字表示渲染顺序。 默认 -1
*/
progressive = 1,
progressive = -1,
/**
* 是否使用包围盒检验鼠标是否移动到物体。false 则检测元素实际的内容。 默认 false
*/
Expand Down

0 comments on commit 54a6879

Please sign in to comment.