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

Commit b340eecd authored by Mady Mellor's avatar Mady Mellor Committed by Android Git Automerger
Browse files

am 88b07740: am 3244a663: Merge "Fix selection handles on older API versions" into mnc-dev

* commit '88b07740':
  Fix selection handles on older API versions
parents c948f9b7 88b07740
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -3966,7 +3966,11 @@ public class Editor {

        @Override
        protected int getHotspotX(Drawable drawable, boolean isRtlRun) {
            return isRtlRun ? 0 : drawable.getIntrinsicWidth();
            if (isRtlRun) {
                return drawable.getIntrinsicWidth() / 4;
            } else {
                return (drawable.getIntrinsicWidth() * 3) / 4;
            }
        }

        @Override
@@ -4084,7 +4088,11 @@ public class Editor {

        @Override
        protected int getHotspotX(Drawable drawable, boolean isRtlRun) {
            return isRtlRun ? drawable.getIntrinsicWidth() : 0;
            if (isRtlRun) {
                return (drawable.getIntrinsicWidth() * 3) / 4;
            } else {
                return drawable.getIntrinsicWidth() / 4;
            }
        }

        @Override
+14.2 KiB (14.5 KiB)
Loading image diff...
+14.2 KiB (14.5 KiB)
Loading image diff...
+14.1 KiB (14.4 KiB)
Loading image diff...
+14.1 KiB (14.3 KiB)
Loading image diff...
Loading