Skip to content

Commit

Permalink
chore: remove useless old TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Beast committed Sep 5, 2024
1 parent 3827ff8 commit ffa26f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/layout/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export function isBasicComputable(blockSignal: MaybeSignal<Block>): blockSignal
return !block.autoParentDependant || (block.width !== "auto" && block.height !== "auto");
}

// TODO: Use custom basicCompute in layouts, because children might overflow it, so it might need to adjust the final child width
export function basicCompute(selfSignal: BasicComputableBlock, parent: Block, computation: ComputationCallback): void {
const self = getValue(selfSignal);

Expand Down

0 comments on commit ffa26f6

Please sign in to comment.