🤖 format everything with pre-commit by stirlingbot (#5675)

Auto-generated by [create-pull-request][1] with **stirlingbot**

[1]: https://github.com/peter-evans/create-pull-request

---------

Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com>
Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
Co-authored-by: Anthony Stirling <[email protected]>
This commit is contained in:
stirlingbot[bot]
2026-02-20 22:41:29 +00:00
committed by GitHub
co-authored by stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> Anthony Stirling
parent f3f56d1d01
commit 7631b222bd
5 changed files with 7 additions and 5 deletions
@@ -293,7 +293,9 @@ public class WatermarkController {
float pageHeight = page.getMediaBox().getHeight();
int watermarkRows =
Math.min(
(int) ((pageHeight + heightSpacer) / (desiredPhysicalHeight + heightSpacer)),
(int)
((pageHeight + heightSpacer)
/ (desiredPhysicalHeight + heightSpacer)),
10_000);
int watermarkCols =
Math.min(