Skip to content

Commit

Permalink
fixed Canvas.CLIP_SAVE_FLAG Error
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-halyn committed Sep 5, 2019
1 parent 7e0fb87 commit 7722db1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ private void onPanelDragged(int newTop) {
@Override
protected boolean drawChild(Canvas canvas, View child, long drawingTime) {
boolean result;
final int save = canvas.save(Canvas.CLIP_SAVE_FLAG);
final int save = canvas.save();

if (mSlideableView != child) { // if main view
// Clip against the slider; no sense drawing what will immediately be covered,
Expand Down

0 comments on commit 7722db1

Please sign in to comment.