Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eceace47 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 81925e66: Merge "Fix FastScroller overlay position bug after...

am 81925e66: Merge "Fix FastScroller overlay position bug after setFastScrollEnabled(false)-->setFastScrollEnabled(true) the overlay shows up at the top-left instead of center"

Merge commit '81925e66' into gingerbread-plus-aosp

* commit '81925e66':
  Fix FastScroller overlay position bug
parents c9259447 81925e66
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -155,6 +155,11 @@ class FastScroller {
        mPaint.setColor(textColorNormal);
        mPaint.setStyle(Paint.Style.FILL_AND_STROKE);

        // to show mOverlayDrawable properly
        if (mList.getWidth() > 0 && mList.getHeight() > 0) {
            onSizeChanged(mList.getWidth(), mList.getHeight(), 0, 0);
        }
        
        mState = STATE_NONE;
    }