fix: the proof crops the finest stroke and closes the contact wait (0.1)
The browser records where the thinnest stroke sits in the assembled film; the proof takes a 15 cm window around it instead of always the top. A free proof no longer fails the layout's billed-metres check, and answering the proof card clears "Aguardando contato" and ends its timer.
This commit is contained in:
@@ -254,7 +254,8 @@ def produce(storage, job, item, uploads):
|
||||
prefix = (f'DTF-{job["number"]}-prova-{item.get("stroke_class") or "C3"}' if proof_of
|
||||
else file_prefix(job['number'], job['item_index']))
|
||||
parts, detail = render(item, files, output, prefix, footer=footer(job, item), tiles=True,
|
||||
limit_cm=PROOF_SHEET_CM if proof_of else None)
|
||||
limit_cm=PROOF_SHEET_CM if proof_of else None,
|
||||
proof_fraction=item.get('proof_y_fraction') if proof_of else None)
|
||||
except BaseException:
|
||||
shutil.rmtree(output, ignore_errors=True)
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user