Repository navigation
Layouts: a publication sheet's accent must be opaque; a column always holds the legend (#682) - #750
Conversation
A translucent accent (#RRGGBBAA) would leave a banner, a poster's page or the headings faint or unseen, so it is refused, as documented (#RRGGBB). Column::legend was true wherever a column is made, so the field and the branches for false are gone (opengeos#742 review). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Code reviewI found no bugs, security issues or guideline violations in this change. I read the diff and the surrounding code. I did not build the crate or run the tests. What the PR does
Checked
Minor (low confidence)
Change sizeCompared: the whole PR against main (merge base 694e6f8 to PR head f1547c3)
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. |
Summary
A follow-up to #742, which was merged at cb5c161 a few minutes before this last commit reached the branch. It answers two points from #742's review.
"accent"as#RRGGBB, but#RRGGBBAAwas accepted. A translucent accent left a banner's band, a poster's page or the headings faint or unseen.layout.publicationnow returns an error that names the opaque form.Column::legendis gone. It wastruewherever a column is made, so the field and the branches forfalsewere dead code. The locator in a column is still capped at 45% of the column's height, as before.Testing
publication_layouts_take_a_stylegains a case: a poster with"accent": "#1F2D4D80"is refused.cargo fmt --all --checkandcargo clippy -p rustgis-engine --all-targets -- -D warningsare clean.rustgis-enginetests pass on currentmain.🤖 Generated with Claude Code
Summary by CodeRabbit