Skip to content

Commit ed46a8a

Browse files
authored
Removed comments
1 parent 2c77c66 commit ed46a8a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

react-spaces/src/components/Space.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -168,32 +168,24 @@ class Space extends React.Component<AllProps, IState> {
168168
{
169169
if (t.anchorType === AnchorType.Top) {
170170
adjustedTop.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
171-
//style.top! += t.size + t.adjustedSize;
172171
} else if (t.anchorType === AnchorType.Left) {
173172
adjustedLeft.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
174-
//style.left! += t.size + t.adjustedSize;
175173
} else if (t.anchorType === AnchorType.Bottom) {
176174
adjustedBottom.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
177-
//style.bottom! += t.size + t.adjustedSize;
178175
} else if (t.anchorType === AnchorType.Right) {
179176
adjustedRight.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
180-
//style.right! += t.size + t.adjustedSize;
181177
}
182178
}
183179
else
184180
{
185181
if (t.anchorType === AnchorType.Top && style.top !== undefined) {
186182
adjustedTop.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
187-
//style.top += t.size + t.adjustedSize;
188183
} else if (t.anchorType === AnchorType.Left && style.left !== undefined) {
189184
adjustedLeft.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
190-
//style.left += t.size + t.adjustedSize;
191185
} else if (t.anchorType === AnchorType.Bottom && style.bottom !== undefined) {
192186
adjustedBottom.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
193-
//style.bottom += t.size + t.adjustedSize;
194187
} else if (t.anchorType === AnchorType.Right && style.right !== undefined) {
195188
adjustedRight.push(`${getSizeString(t.size)} + ${t.adjustedSize}px`);
196-
//style.right += t.size + t.adjustedSize;
197189
}
198190
}
199191
} else {
@@ -348,4 +340,4 @@ export const Info : React.FC<{ children: (info: ISpaceInfo) => React.ReactNode }
348340
info => props.children(info!)
349341
}
350342
</SpaceInfoContext.Consumer>
351-
)
343+
)

0 commit comments

Comments
 (0)