sketch-hq/sketch-assistant-core-rules

Implement layers-no-subpixel-positioning rule

jedrichards opened this issue · 1 comments

Making a note for next steps on this rule. Rename rule option to supportedScaleFactors, which will be an enum with the following three options

  • @1x enforces whole pixels layer positions (0, 1, 2, ...)
  • @2x enforces layer positions in 0.5 increments (0, 0.5, 1, 1.5, ...)
  • @3x enforces later positions in 0.33 increments (0, 0.33, 0.67, 1, 1.33, ...)