compute Y scroll max by scaling only, ignoring title bar height
without this, the max scroll may be a single pixel
This commit is contained in:
@@ -5772,7 +5772,7 @@ public class WebView extends AbsoluteLayout
|
||||
// FIXME the divisor should be retrieved from somewhere
|
||||
// the closest thing today is hard-coded into ScrollView.java
|
||||
// (from ScrollView.java, line 363) int maxJump = height/2;
|
||||
return viewToContentY(height);
|
||||
return Math.round(height * mInvActualScale);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user