Skip to content

Commit

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

-----

## [1.1.8 ~ 1.1.8.1](https://github.com/longitachi/ZLImageEditor/releases/tag/1.1.8.1) (2023-07-24)
## [1.1.8.2 - 1.1.8 Patch](https://github.com/longitachi/ZLImageEditor/releases/tag/1.1.8.2) (2023-07-26)
### Fix:
* Disable TextView when user ends editing.

-----

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

-----

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

Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ 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.1.8.1, 1.1.8.2 - 1.1.8 Patch
Fix:
Disable TextView when user ends editing.
● 1.1.8
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.1"
let version = "1.1.8.2"

public struct ZLImageEditorWrapper<Base> {
public let base: Base
Expand Down
5 changes: 4 additions & 1 deletion Sources/General/ZLInputTextViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ class ZLInputTextViewController: UIViewController {

@objc func doneBtnClick() {
textView.tintColor = .clear
textView.resignFirstResponder()

var image: UIImage?

Expand All @@ -265,7 +266,9 @@ class ZLInputTextViewController: UIViewController {
let size = textView.sizeThatFits(subview.frame.size)
UIGraphicsBeginImageContextWithOptions(size, false, UIScreen.main.scale)
if let context = UIGraphicsGetCurrentContext() {
textLayer.render(in: context)
if textStyle == .bg {
textLayer.render(in: context)
}
subview.layer.render(in: context)
image = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()
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.1'
s.version = '1.1.8.2'
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 4502786

Please sign in to comment.