0% · 0 of 0 done

Id
01M1XJZZJ9H2Y6CZD1A30SHCCJ
Assignee
nobody
Estimate
none
Labels
item-81
Body and acceptance criteria

scripts/check.sh refuses a fractional colour triple outside src/UI/Theme.lua and src/Unit/Color.lua: a table constructor of three or four numbers with a fraction in it, and the same shape passed to SetColorTexture, SetTextColor or SetVertexColor. A fraction, not any triple, because SetVertexColor(1, 1, 1) is a reset and SetColorTexture(0, 0, 0, 0.55) is a shadow.

Whatever item 80 leaves is allow-listed by file with a one-line reason each, in the shape the eight rules above it use, and the length of that list is a ceiling in scripts/ratchet.lua. A file that clears its last literal comes off the list in the same commit. Error, not warning: a colour typed at a call site is invisible until two windows are open side by side.

Tickets

Not broken down yet, which reads as 0% rather than as delivered.

Add a task
Comments (0)

Nothing said yet.

Tab choose Enter go Esc close