Skip to content

Commit 6a1307b

Browse files
committed
Bumped version to 1.1.8.1
1 parent 636b6b8 commit 6a1307b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CHANGELOG.md

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

33
-----
44

5-
## [1.1.8](https://github.com/longitachi/ZLImageEditor/releases/tag/1.1.8) (2023-07-21)
5+
## [1.1.8 ~ 1.1.8.1](https://github.com/longitachi/ZLImageEditor/releases/tag/1.1.8.1) (2023-07-24)
66
### Add:
77
* Text stickers support display background color.
88

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ZLEditImageViewController.showEditImageVC(parentVC: self, image: image, editMode
5151
### <a id="ChangeLog"></a>Change Log
5252
> [More logs](https://github.com/longitachi/ZLImageEditor/blob/master/CHANGELOG.md)
5353
```
54-
● 1.1.8
54+
● 1.1.8.1
5555
Add:
5656
Text stickers support display background color.
5757
● 1.1.7

Sources/General/ZLImageEditor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import Foundation
2828
import UIKit
2929

30-
let version = "1.1.8"
30+
let version = "1.1.8.1"
3131

3232
public struct ZLImageEditorWrapper<Base> {
3333
public let base: Base

Sources/General/ZLInputTextViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ extension ZLInputTextViewController {
404404
private func calculateTextRects() -> [CGRect] {
405405
let layoutManager = textView.layoutManager
406406

407-
let range = layoutManager.glyphRange(forCharacterRange: NSMakeRange(0, textView.text.count), actualCharacterRange: nil)
407+
let range = layoutManager.glyphRange(forCharacterRange: NSMakeRange(0, textView.text.utf16.count), actualCharacterRange: nil)
408408
let glyphRange = layoutManager.glyphRange(forCharacterRange: range, actualCharacterRange: nil)
409409

410410
var rects: [CGRect] = []

ZLImageEditor.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'ZLImageEditor'
3-
s.version = '1.1.8'
3+
s.version = '1.1.8.1'
44
s.summary = 'A powerful image editor framework. Supports graffiti, cropping, mosaic, text stickers, picture stickers, filters, adjust(brightness, contrast, saturation).'
55

66
s.homepage = 'https://github.com/longitachi/ZLImageEditor'

0 commit comments

Comments
 (0)