Skip to content

Commit

Permalink
chore: v4.1.38 & changelog (#3777)
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Jan 13, 2022
1 parent 151f915 commit bbc0a5b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#### 4.1.38 (2022-01-12)

##### Bug Fixes

* **issue-3723:** 修复annotation 在筛选条件下,范围外的标注不需要展示 ([#3775](https://github.com/antvis/g2/pull/3775)) ([151f9152](https://github.com/antvis/g2/commit/151f915280cb7d00604a39c2c96859bb92dc6395))
* **slider,scrollbar:** 修复slider 、scrollbar values 排序错误的问题 ([#3773](https://github.com/antvis/g2/pull/3773)) ([6e84c446](https://github.com/antvis/g2/commit/6e84c44684149cf0c5754cb8b537dd541011dc06))

#### 4.1.37 (2022-01-04)

##### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g2",
"version": "4.1.37",
"version": "4.1.38",
"description": "the Grammar of Graphics in Javascript",
"main": "lib/index.js",
"module": "esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* G2 的一个壳子,不包含 Geometry,由开发者自己定义和引入 */

export const VERSION = '4.1.37';
export const VERSION = '4.1.38';

// 核心基类导出
export { Chart, View, Event } from './chart'; // Chart, View 类
Expand Down
4 changes: 1 addition & 3 deletions tests/unit/geometry/base-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -881,13 +881,11 @@ describe('Geometry', () => {
geometry.once(GEOMETRY_LIFE_CIRCLE.AFTER_DRAW_ANIMATE, () => afterFn(3));
chart.changeSize(400, 400);

await delay(800);

// 自定义的 animate callback 也需要调用
// expect(fn).toBeCalled();
// expect(beforFn).toBeCalledWith(3);
// expect(afterFn).toBeCalledWith(3);
expect(fn).toBeCalled();
// expect(fn).toBeCalled();
});

it('geometry elements set zIndexReversed', () => {
Expand Down

0 comments on commit bbc0a5b

Please sign in to comment.