mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-04 21:27:41 +08:00
modify View::awakenScrollBars,fix horizontalscrollview's scrolling issues
This commit is contained in:
parent
fa168cc83d
commit
9579aa95bb
@ -1061,8 +1061,7 @@ bool View::awakenScrollBars(int startDelay, bool invalidate){
|
||||
|
||||
if (invalidate) {
|
||||
// Invalidate to show the scrollbars
|
||||
const Rect&r = mScrollCache->mScrollBarBounds;
|
||||
postInvalidateOnAnimation(r.left,r.top,r.width,r.height);
|
||||
postInvalidateOnAnimation();
|
||||
}
|
||||
|
||||
if (mScrollCache->state == ScrollabilityCache::OFF) {
|
||||
|
Loading…
Reference in New Issue
Block a user