From 108fe47de77c528f5cee045353c454b8680315f4 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 10 Feb 2026 17:31:18 +0100 Subject: [PATCH] wait #7997 @0.25 --- app/Fluidbook/Compiler/Compiler.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index 21321d23c..53b7f30c5 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -554,7 +554,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError $this->numerotation = $this->config->numerotation = explode(',', $this->getFluidbook()->page_numbers); $this->config->dynamicBackgroundColor = []; $this->config->masks = []; - $this->config->linksScale=$this->linkScale; + $this->config->linksScale = $this->linkScale; $this->initTabsConfig(); $this->config->triggersLinks = []; @@ -1656,6 +1656,10 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError $reminimize = true; } + if (rand(1, 10) == 5) { + $reminimize = true; + } + if (!$reminimize) { foreach ($files as $file) { $f = $this->assets . '/' . $file; -- 2.39.5