Skip to content

Commit

Permalink
Bumped version to 1.1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Jul 24, 2023
1 parent 636b6b8 commit 6a1307b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

-----

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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ZLEditImageViewController.showEditImageVC(parentVC: self, image: image, editMode
### <a id="ChangeLog"></a>Change Log
> [More logs](https://github.com/longitachi/ZLImageEditor/blob/master/CHANGELOG.md)
```
● 1.1.8
● 1.1.8.1
Add:
Text stickers support display background color.
● 1.1.7
Expand Down
2 changes: 1 addition & 1 deletion Sources/General/ZLImageEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import Foundation
import UIKit

let version = "1.1.8"
let version = "1.1.8.1"

public struct ZLImageEditorWrapper<Base> {
public let base: Base
Expand Down
2 changes: 1 addition & 1 deletion Sources/General/ZLInputTextViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ extension ZLInputTextViewController {
private func calculateTextRects() -> [CGRect] {
let layoutManager = textView.layoutManager

let range = layoutManager.glyphRange(forCharacterRange: NSMakeRange(0, textView.text.count), actualCharacterRange: nil)
let range = layoutManager.glyphRange(forCharacterRange: NSMakeRange(0, textView.text.utf16.count), actualCharacterRange: nil)
let glyphRange = layoutManager.glyphRange(forCharacterRange: range, actualCharacterRange: nil)

var rects: [CGRect] = []
Expand Down
2 changes: 1 addition & 1 deletion ZLImageEditor.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ZLImageEditor'
s.version = '1.1.8'
s.version = '1.1.8.1'
s.summary = 'A powerful image editor framework. Supports graffiti, cropping, mosaic, text stickers, picture stickers, filters, adjust(brightness, contrast, saturation).'

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

0 comments on commit 6a1307b

Please sign in to comment.