laurentlb/shader-minifier

Missing parentheses with nested ternary operators

laurentlb opened this issue · 0 comments

Input:

 pixelOffsetSubpix=(directionN?goodSpanN:goodSpanP)?.1:.2;

Output:

pixelOffsetSubpix=directionN?goodSpanN:goodSpanP?.1:.2;