Fix style naming for bounds and spacebox inspectors
Summary: ^ Reviewed By: passy Differential Revision: D40632902 fbshipit-source-id: ae4cc57b3b64cac0cbeffc20c3189e3a01e13949
This commit is contained in:
committed by
Facebook GitHub Bot
parent
38109eccff
commit
edb7de7311
@@ -85,8 +85,8 @@ const BoundsInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={0}
|
||||
y={midY}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="right"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="right"
|
||||
fill={strokeColor}>
|
||||
{value.x}
|
||||
</text>
|
||||
@@ -119,8 +119,8 @@ const BoundsInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={midX}
|
||||
y={originY + height + separator * 2}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="middle"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fill={strokeColor}>
|
||||
{value.width}
|
||||
</text>
|
||||
@@ -153,8 +153,8 @@ const BoundsInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={midX}
|
||||
y={separator}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="middle"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fill={strokeColor}>
|
||||
{value.y}
|
||||
</text>
|
||||
@@ -187,8 +187,8 @@ const BoundsInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={originX + width + separator * 3}
|
||||
y={midY}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="middle"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fill={strokeColor}>
|
||||
{value.height}
|
||||
</text>
|
||||
|
||||
@@ -162,8 +162,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={half}
|
||||
y={quarter - quarter / 2}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="middle"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fill={strokeColor}>
|
||||
{value.top}
|
||||
</text>
|
||||
@@ -171,8 +171,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={half}
|
||||
y={size - quarter / 2}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="middle"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fill={strokeColor}>
|
||||
{value.bottom}
|
||||
</text>
|
||||
@@ -180,8 +180,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={quarter - quarter / 2}
|
||||
y={half}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="middle"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fill={strokeColor}>
|
||||
{value.left}
|
||||
</text>
|
||||
@@ -189,8 +189,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
||||
<text
|
||||
x={size - quarter / 2}
|
||||
y={half}
|
||||
dominant-baseline="middle"
|
||||
text-anchor="middle"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fill={strokeColor}>
|
||||
{value.right}
|
||||
</text>
|
||||
|
||||
Reference in New Issue
Block a user