Skip to content

Commit 7de31ee

Browse files
committed
v1.13.2:修复 -setMaskAlpha:duration: 方法的参数类型使用错误的问题
1 parent 8054451 commit 7de31ee

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

JPImageresizerView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'JPImageresizerView'
11-
s.version = '1.13.1'
11+
s.version = '1.13.2'
1212
s.summary = '一个专门裁剪图片、GIF、视频的轮子😋简单易用、功能丰富☕️'
1313

1414
# This description is used to generate tags and improve search results.

JPImageresizerView/JPImageresizerBlurView.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
2424
- (void)setIsBlur:(BOOL)isBlur duration:(NSTimeInterval)duration;
2525
- (void)setBlurEffect:(UIBlurEffect *_Nullable)blurEffect duration:(NSTimeInterval)duration;
2626
- (void)setBgColor:(UIColor *_Nullable)bgColor duration:(NSTimeInterval)duration;
27-
- (void)setMaskAlpha:(BOOL)maskAlpha duration:(NSTimeInterval)duration;
27+
- (void)setMaskAlpha:(CGFloat)maskAlpha duration:(NSTimeInterval)duration;
2828
- (void)setIsMaskAlpha:(BOOL)isMaskAlpha duration:(NSTimeInterval)duration;
2929

3030
- (void)setupIsBlur:(BOOL)isBlur

JPImageresizerView/JPImageresizerBlurView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ - (void)setBgColor:(UIColor *)bgColor duration:(NSTimeInterval)duration {
8181
_bgColor = bgColor;
8282
[self __blurEffectAnimation:duration];
8383
}
84-
- (void)setMaskAlpha:(BOOL)maskAlpha duration:(NSTimeInterval)duration {
84+
- (void)setMaskAlpha:(CGFloat)maskAlpha duration:(NSTimeInterval)duration {
8585
_maskAlpha = maskAlpha;
8686
[self __maskAlphaAnimation:duration];
8787
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[英文文档(English document)](https://github.com/Rogue24/JPImageresizerView/blob/master/README_EN.md) | [掘金](https://juejin.cn/post/6958761756978053150) |
1111
[高仿小红书App可拖拽任意角度的裁剪功能](https://github.com/Rogue24/JPCrop)
1212

13-
## 简介(当前版本:1.13.1
13+
## 简介(当前版本:1.13.2
1414

1515
一个专门裁剪图片、GIF、视频的轮子,简单易用,功能丰富(高自由度的参数设定、支持旋转和镜像翻转、蒙版、压缩等),能满足绝大部分裁剪的需求。
1616

@@ -751,7 +751,7 @@ self.imageresizerView.isLockResizeFrame = YES;
751751

752752
版本 | 更新内容
753753
----|------
754-
1.13.0~1.13.1 | 1. 新增可自定义设置的初始裁剪区域,使用`JPImageresizerConfigure``resizeScaledBounds`属性进行配置(原尺寸的百分比形式);<br>2. 新增`isFlipResizeWHScaleOnVerHorSwitch`属性,用于横竖方向发生切换时也翻转裁剪宽高比(若设置了蒙版图片该属性将无效)。
754+
1.13.0~1.13.2 | 1. 新增可自定义设置的初始裁剪区域,使用`JPImageresizerConfigure``resizeScaledBounds`属性进行配置(原尺寸的百分比形式);<br>2. 新增`isFlipResizeWHScaleOnVerHorSwitch`属性,用于横竖方向发生切换时也翻转裁剪宽高比(若设置了蒙版图片该属性将无效);<br>3. 修复`JPImageresizerBlurView``-setMaskAlpha:duration:`方法的参数类型使用错误的问题
755755
1.12.0 | 1. 现在裁剪视频的同时也可以自定义截取指定秒数的视频片段(至少1s)。
756756
1.11.1~1.11.4 | 1. 添加隐私清单PrivacyInfo;<br>2. 修复裁剪gif后JPImageresizerResult对象的image属性为空的问题;<br>3. 支持Swift Package Manager安装;<br>4. 修复「初始化/横竖屏切换」蒙版展示失效的问题。
757757
1.11.0 | 1. 可设置GIF的背景色、圆角、边框、轮廓描边、内容边距;<br>2. 可使用本地图片组装GIF;<br>3. 可获取图片目标像素的颜色值;<br>4. 修复引起内存泄漏的漏洞。

README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
*本人英语小白,这里基本都是机翻,见笑了,Sorry。*
1414

15-
## Brief introduction (Current version: 1.13.1)
15+
## Brief introduction (Current version: 1.13.2)
1616

1717
A special wheel for cutting pictures, GIF and videos is simple and easy to use, with rich functions (high degree of freedom parameter setting, supporting rotation and mirror flipping, masking, compression, etc.), which can meet the needs of most cutting.
1818

0 commit comments

Comments
 (0)