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
|
<text
|
||||||
x={0}
|
x={0}
|
||||||
y={midY}
|
y={midY}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="right"
|
textAnchor="right"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.x}
|
{value.x}
|
||||||
</text>
|
</text>
|
||||||
@@ -119,8 +119,8 @@ const BoundsInspector: React.FC<Props> = ({
|
|||||||
<text
|
<text
|
||||||
x={midX}
|
x={midX}
|
||||||
y={originY + height + separator * 2}
|
y={originY + height + separator * 2}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="middle"
|
textAnchor="middle"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.width}
|
{value.width}
|
||||||
</text>
|
</text>
|
||||||
@@ -153,8 +153,8 @@ const BoundsInspector: React.FC<Props> = ({
|
|||||||
<text
|
<text
|
||||||
x={midX}
|
x={midX}
|
||||||
y={separator}
|
y={separator}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="middle"
|
textAnchor="middle"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.y}
|
{value.y}
|
||||||
</text>
|
</text>
|
||||||
@@ -187,8 +187,8 @@ const BoundsInspector: React.FC<Props> = ({
|
|||||||
<text
|
<text
|
||||||
x={originX + width + separator * 3}
|
x={originX + width + separator * 3}
|
||||||
y={midY}
|
y={midY}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="middle"
|
textAnchor="middle"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.height}
|
{value.height}
|
||||||
</text>
|
</text>
|
||||||
|
|||||||
@@ -162,8 +162,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
|||||||
<text
|
<text
|
||||||
x={half}
|
x={half}
|
||||||
y={quarter - quarter / 2}
|
y={quarter - quarter / 2}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="middle"
|
textAnchor="middle"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.top}
|
{value.top}
|
||||||
</text>
|
</text>
|
||||||
@@ -171,8 +171,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
|||||||
<text
|
<text
|
||||||
x={half}
|
x={half}
|
||||||
y={size - quarter / 2}
|
y={size - quarter / 2}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="middle"
|
textAnchor="middle"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.bottom}
|
{value.bottom}
|
||||||
</text>
|
</text>
|
||||||
@@ -180,8 +180,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
|||||||
<text
|
<text
|
||||||
x={quarter - quarter / 2}
|
x={quarter - quarter / 2}
|
||||||
y={half}
|
y={half}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="middle"
|
textAnchor="middle"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.left}
|
{value.left}
|
||||||
</text>
|
</text>
|
||||||
@@ -189,8 +189,8 @@ const SpaceBoxInspector: React.FC<Props> = ({
|
|||||||
<text
|
<text
|
||||||
x={size - quarter / 2}
|
x={size - quarter / 2}
|
||||||
y={half}
|
y={half}
|
||||||
dominant-baseline="middle"
|
dominantBaseline="middle"
|
||||||
text-anchor="middle"
|
textAnchor="middle"
|
||||||
fill={strokeColor}>
|
fill={strokeColor}>
|
||||||
{value.right}
|
{value.right}
|
||||||
</text>
|
</text>
|
||||||
|
|||||||
Reference in New Issue
Block a user