Revert D20590739
Summary: This diff is reverting D20590739 (3e5998e651
) D20590739 (3e5998e651
) is making the following tests to fail and this revert diff is either the revert of the blame diff or the revert of the stack of diffs that need to be reverted to revert the blame diff Tests affected: - https://www.internalfb.com/intern/test/281475012591721/ Multisect link: https://www.internalfb.com/intern/testinfra/multisect/476214 ## Changelog `[Android] [Fixed] - Revert: Fix dashed/dotted border-drawing when border-radius is 0` Reviewed By: charlesbdudley Differential Revision: D30361262 fbshipit-source-id: 21dd507deb5817dda1063a267a38749c77e7ae1a
This commit is contained in:
Родитель
6daf5bbec5
Коммит
48567e5277
|
@ -129,7 +129,7 @@ public class ReactViewBackgroundDrawable extends Drawable {
|
||||||
@Override
|
@Override
|
||||||
public void draw(Canvas canvas) {
|
public void draw(Canvas canvas) {
|
||||||
updatePathEffect();
|
updatePathEffect();
|
||||||
if (!hasRoundedBorders() && mBorderStyle == BorderStyle.SOLID) {
|
if (!hasRoundedBorders()) {
|
||||||
drawRectangularBackgroundWithBorders(canvas);
|
drawRectangularBackgroundWithBorders(canvas);
|
||||||
} else {
|
} else {
|
||||||
drawRoundedBackgroundWithBorders(canvas);
|
drawRoundedBackgroundWithBorders(canvas);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче