Merge "Fix selection handles on older API versions" into mnc-dev
@@ -3966,7 +3966,11 @@ public class Editor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getHotspotX(Drawable drawable, boolean isRtlRun) {
|
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
|
@Override
|
||||||
@@ -4084,7 +4088,11 @@ public class Editor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getHotspotX(Drawable drawable, boolean isRtlRun) {
|
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
|
@Override
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 368 B After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 466 B After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 630 B After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 889 B After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 858 B After Width: | Height: | Size: 15 KiB |