Skip to content

Commit

Permalink
Merge pull request #3 from raeleus/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
raeleus authored Mar 30, 2022
2 parents 402ec2b + 3b6d97e commit e037a2b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGES #

### Version 5.2.3 ###

* Fixed set() method not using color.set().

### Version 5.2.2 ###

* Fixed not setting the region when setting values to an existing TenPatchDrawable
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### TenPatch ###

Version 5.2.2
Version 5.2.3

This project is an alternative to libGDX's 9patch implementation. It has the following features:

Expand Down Expand Up @@ -39,7 +39,7 @@ project(":core") {
dependencies {
...
compile 'com.github.raeleus.TenPatch:tenpatch:5.2.2'
compile 'com.github.raeleus.TenPatch:tenpatch:5.2.3'
}
}
```
Expand All @@ -54,7 +54,7 @@ project(":html") {
dependencies {
...
compile 'com.github.raeleus.TenPatch:tenpatch:5.2.2:sources'
compile 'com.github.raeleus.TenPatch:tenpatch:5.2.3:sources'
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ allprojects {
apply plugin: "eclipse"
apply plugin: "idea"

version = '5.2.2'
version = '5.2.3'
group = 'com.github.raeleus.TenPatch'
ext {
appName = "tenpatch"
Expand Down
2 changes: 1 addition & 1 deletion tenpatch/src/com/ray3k/tenpatch/TenPatchDrawable.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public TenPatchDrawable(int[] horizontalStretchAreas, int[] verticalStretchAreas
}

public void set(TenPatchDrawable other) {
color = other.color;
color.set(other.color);
color1 = other.color1;
color2 = other.color2;
color3 = other.color3;
Expand Down

0 comments on commit e037a2b

Please sign in to comment.