commit
59d80e5c55
|
@ -1,6 +1,7 @@
|
|||
## 2.1.2-rc.6
|
||||
- 修复手机调节显示大小时图片消失
|
||||
- pngWorker线程改为taskpool
|
||||
- 修复正方形裁剪有些图片裁剪创建pixelMap失败
|
||||
|
||||
## 2.1.2-rc.5
|
||||
- moduleContext新增缓存策略,缓存上限5,缓存策略Lru
|
||||
|
|
|
@ -60,8 +60,8 @@ export class CropSquareTransformation implements BaseTransform<PixelMap> {
|
|||
editable: true,
|
||||
rotate: 0,
|
||||
desiredSize: {
|
||||
width: outWidth,
|
||||
height: outHeight
|
||||
width: pw,
|
||||
height: ph
|
||||
},
|
||||
desiredRegion: { size: { width: targetSize, height: targetSize },
|
||||
x: pw / 2 - targetSize / 2,
|
||||
|
|
Loading…
Reference in New Issue