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

Commit df344375 authored by Cary Clark's avatar Cary Clark
Browse files

compute Y scroll max by scaling only, ignoring title bar height

without this, the max scroll may be a single pixel
parent 5adeba4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }

    /**