Skip to content

Commit e6e9385

Browse files
pubiqqleticiarossi
authored andcommitted
[Slider] Fix thumb visibility for vertical slider on API 23
Resolves #4505 GIT_ORIGIN_REV_ID=ed5a3af3ec63ea820651897eac2caa85ece13288 PiperOrigin-RevId: 712937074
1 parent 9ce14ae commit e6e9385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/slider/BaseSlider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2917,7 +2917,7 @@ private void drawThumbDrawable(
29172917
@NonNull Canvas canvas, int width, int top, float value, @NonNull Drawable thumbDrawable) {
29182918
canvas.save();
29192919
if (isVertical()) {
2920-
canvas.setMatrix(rotationMatrix);
2920+
canvas.concat(rotationMatrix);
29212921
}
29222922
canvas.translate(
29232923
trackSidePadding

0 commit comments

Comments
 (0)