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

Commit fafe88c3 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Fix bug #9302365 HorizontalScrollView is not RTL aware

- follow up for cleaning the state

Change-Id: I850d0da5ff8813d1c7a6f2277bddba1b8ccc07ec
parent c4d71223
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1480,6 +1480,7 @@ public class HorizontalScrollView extends FrameLayout {
                } else {
                } else {
                    mScrollX = scrollRange - mSavedState.scrollPosition;
                    mScrollX = scrollRange - mSavedState.scrollPosition;
                }
                }
                mSavedState = null;
            } else {
            } else {
                if (isLayoutRtl()) {
                if (isLayoutRtl()) {
                    mScrollX = scrollRange - mScrollX;
                    mScrollX = scrollRange - mScrollX;