mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
corners_radius processing fix
commit_hash:e9fecd52017a0bb43f890304aac600c7936ef843
This commit is contained in:
@@ -291,7 +291,7 @@
|
||||
strokeColor = correctColor(border.stroke.color, 1, strokeColor);
|
||||
newBorderElemStyle['--divkit-border'] = `${pxToEm(strokeWidth + 1)} solid ${strokeColor}`;
|
||||
}
|
||||
if (border.corners_radius) {
|
||||
if (border.corners_radius && typeof border.corners_radius === 'object') {
|
||||
cornersRadius = correctBorderRadiusObject(border.corners_radius, cornersRadius);
|
||||
newBorderStyle['border-radius'] = borderRadius(cornersRadius);
|
||||
([
|
||||
|
||||
Reference in New Issue
Block a user