🤖 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 <77850077+Frooodle@users.noreply.github.com>
This commit is contained in:
stirlingbot[bot]
2026-02-20 22:41:29 +00:00
committed by GitHub
parent f3f56d1d01
commit 7631b222bd
5 changed files with 7 additions and 5 deletions

View File

@@ -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(

View File

@@ -67,7 +67,7 @@ springBoot {
allprojects {
group = 'stirling.software'
version = '2.5.1'
version = '2.5.2'
configurations.configureEach {
exclude group: 'commons-logging', module: 'commons-logging'

View File

@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "Stirling-PDF",
"version": "2.5.1",
"version": "2.5.2",
"identifier": "stirling.pdf.dev",
"build": {
"frontendDist": "../dist",

View File

@@ -38,7 +38,7 @@ const FREE_LICENSE_INFO: LicenseInfo = {
const BASE_NO_LOGIN_CONFIG: AppConfig = {
enableAnalytics: true,
appVersion: '2.5.1',
appVersion: '2.5.2',
serverCertificateEnabled: false,
enableAlphaFunctionality: false,
serverPort: 8080,

View File

@@ -48,7 +48,7 @@ const FREE_LICENSE_INFO: LicenseInfo = {
const BASE_NO_LOGIN_CONFIG: AppConfig = {
enableAnalytics: true,
appVersion: '2.5.1',
appVersion: '2.5.2',
serverCertificateEnabled: false,
enableAlphaFunctionality: false,
enableDesktopInstallSlide: true,