Skip to content

Commit

Permalink
Fix several small TODO's
Browse files Browse the repository at this point in the history
  • Loading branch information
joswarmer committed Oct 31, 2024
1 parent 2e1f0d9 commit 34533d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/core/src/editor/util/FreExpressionUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@ export function createDefaultExpressionBox(exp: FreExpressionNode, children: Box
result = BoxFactory.horizontalLayout(exp, EXPRESSION, "", children);
}
if (isLeftMost) {
// TODO Change into Svelte Style
// result.insertChild(new ActionBox(exp, LEFT_MOST, NBSP, { style: STYLES.aliasExpression }));
result.insertChild(BoxFactory.action(exp, LEFT_MOST, NBSP));
}
if (isRightMost) {
// TODO Change into Svelte Style
// result.addChild(new ActionBox(exp, RIGHT_MOST, NBSP, { style: STYLES.aliasExpression }));
result.addChild(BoxFactory.action(exp, RIGHT_MOST, NBSP));
}
FreUtils.initializeObject(result, initializer);
Expand Down Expand Up @@ -96,10 +92,8 @@ export function createDefaultBinaryBox(
propertyName: "left",
conceptName: leftConceptName,
}),
// TODO Change into Svelte styles: style: STYLES.aliasExpression
BoxFactory.action(exp, BEFORE_BINARY_OPERATOR, NBSP),
createOperatorBox(editor, exp, symbol),
// TODO Change into Svelte styles: style: STYLES.aliasExpression
BoxFactory.action(exp, AFTER_BINARY_OPERATOR, NBSP),
!!exp.freRight()
? boxProviderCache.getBoxProvider(exp.freRight()).box
Expand Down

0 comments on commit 34533d9

Please sign in to comment.