mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1107698 - Part 2: Update alpha when updating the color in ResizeablePathDrawable. r=bnicholson
This commit is contained in:
parent
cc5101b2a6
commit
f6cdd98138
@ -35,6 +35,7 @@ public class ResizablePathDrawable extends ShapeDrawable {
|
||||
int newColor = colorStateList.getColorForState(stateSet, Color.WHITE);
|
||||
if (newColor != currentColor) {
|
||||
currentColor = newColor;
|
||||
alpha = Color.alpha(currentColor);
|
||||
invalidateSelf();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user