tart/Tests
Eugene Petrenko 60bf256345 Reject non-positive @PPI hints
Codex review flagged that a mistyped "@0" or "@-1" parsed to a non-nil
ppi that persisted and was fed straight into
VZMacGraphicsDisplayConfiguration, bypassing the 72 fallback and risking
a display that fails to build until the user manually resets it.

Guard both ends: the --display parser now keeps only a positive PPI
(zero/negative ignored just like non-numeric input), and
effectivePixelsPerInch treats a non-positive stored value (e.g. from a
hand-edited config) as unset, falling back to 72.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 15:49:28 +02:00
..
TartTests Reject non-positive @PPI hints 2026-07-28 15:49:28 +02:00