[BUG] mutate ast to keep comments for pipe split ast-mod (#6128)

* mutate ast to keep comments

* remove commented out code

* fix case where no comments in split
This commit is contained in:
Kurt Hutten
2025-04-04 14:01:23 +11:00
committed by GitHub
parent 1a59fc4f99
commit d270447777
4 changed files with 56 additions and 30 deletions

View File

@ -46,12 +46,5 @@ export function angleLengthInfo({
selectionRanges.graphSelections.length <= 1 &&
isAllTooltips &&
transforms.every(Boolean)
console.log(
'enabled',
enabled,
selectionRanges.graphSelections.length,
isAllTooltips,
transforms.every(Boolean)
)
return { enabled, transforms }
}