mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 11:23:10 +02:00
🤖 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:
co-authored by
stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
Anthony Stirling
parent
f3f56d1d01
commit
7631b222bd
+3
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user