mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-05 05:37:53 +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) {
|
if (invalidate) {
|
||||||
// Invalidate to show the scrollbars
|
// Invalidate to show the scrollbars
|
||||||
const Rect&r = mScrollCache->mScrollBarBounds;
|
postInvalidateOnAnimation();
|
||||||
postInvalidateOnAnimation(r.left,r.top,r.width,r.height);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mScrollCache->state == ScrollabilityCache::OFF) {
|
if (mScrollCache->state == ScrollabilityCache::OFF) {
|
||||||
|
Loading…
Reference in New Issue
Block a user