Skip to content

Commit 1c8e6df

Browse files
authored
Update README.md
1 parent 403ad74 commit 1c8e6df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cutter/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
//init
44
var cutter = new Cutter(container, {
55
imgUrl: url,
6-
conWidth: document.body.clientWidth, //裁剪区域宽度
7-
conHeight: document.body.clientWidth * 1.2, //裁剪区域高度
6+
conWidth: container_width, //裁剪区域宽度
7+
conHeight: container_height, //裁剪区域高度
88
speed: 2, //滑动速度
99
callback: function() {
1010
//doSomething... 创建成功回调

0 commit comments

Comments
 (0)