react-native-advanced-text 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -325,8 +325,7 @@ class AdvancedTextView : TextView {
|
|
|
325
325
|
totalPaddingLeft + right + horizontalPadding,
|
|
326
326
|
totalPaddingTop + bottom - verticalPadding
|
|
327
327
|
)
|
|
328
|
-
|
|
329
|
-
canvas.drawRoundRect(rect, radius, radius, paint)
|
|
328
|
+
canvas.drawRoundRect(rect, 0f, 0f, paint)
|
|
330
329
|
}
|
|
331
330
|
}
|
|
332
331
|
}
|
package/ios/AdvancedTextView.mm
CHANGED
|
@@ -539,7 +539,7 @@ using namespace facebook::react;
|
|
|
539
539
|
adjustedRect.origin.y += textView.textContainerInset.top;
|
|
540
540
|
|
|
541
541
|
UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:adjustedRect
|
|
542
|
-
cornerRadius:
|
|
542
|
+
cornerRadius:0.0];
|
|
543
543
|
[path fill];
|
|
544
544
|
}];
|
|
545
545
|
break;
|
package/package.json
CHANGED