Skip to content

Commit e063d9a

Browse files
fix: zoom text
1 parent 4c0ae06 commit e063d9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-visual-modeling",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "一个基于React的数据可视化建模的DAG图,适用于UML,数据库建模,数据仓库建设等业务",
55
"main": "dist/index.js",
66
"pack": "pack/index.js",

src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ export const actions = [
3939
{
4040
key: 'zoom-in',
4141
icon: 'table-build-icon table-build-icon-zoom-in',
42-
title: '缩小',
42+
title: '放大',
4343
onClick: (canvas) => {
4444
canvas.zoom(canvas._zoomData + 0.1);
4545
}
4646
},
4747
{
4848
key: 'zoom-out',
4949
icon: 'table-build-icon table-build-icon-zoom-out',
50-
title: '放大',
50+
title: '缩小',
5151
onClick: (canvas) => {
5252
canvas.zoom(canvas._zoomData - 0.1);
5353
}

0 commit comments

Comments
 (0)