Skip to content

Commit 461926b

Browse files
authored
Merge pull request HugoGresse#15 from tdassonville/patch-1
Allow to dynamically change color
2 parents c40e5c1 + 4740de4 commit 461926b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

vumeterlibrary/src/main/java/io/gresse/hugo/vumeterlibrary/VuMeterView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public int getColor() {
232232
*/
233233
public void setColor(int color) {
234234
mColor = color;
235+
mPaint.setColor(mColor);
235236
}
236237

237238
/**

0 commit comments

Comments
 (0)