]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5902
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 3 May 2023 16:35:24 +0000 (18:35 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 3 May 2023 16:35:24 +0000 (18:35 +0200)
app/Http/Controllers/Admin/Operations/FluidbookPreviewOperation.php

index c217f35c10b7766de754097abd443af54d00de7d..62d27f677b1e75847de7410d325e23ac9062cde2 100644 (file)
@@ -34,7 +34,7 @@ trait FluidbookPreviewOperation
         $tdist = $tcolor->distance($bgcolor);
         $sdist = $scolor->distance($bgcolor);
 
-        if ($tdist < 20000 && $sdist > $tdist) {
+        if ($tdist < 5000000 && $sdist > $tdist) {
             $tcolor = $scolor;
         }