]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5909
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 May 2023 06:16:07 +0000 (08:16 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 May 2023 06:16:07 +0000 (08:16 +0200)
app/Fluidbook/Compiler/Compiler.php

index 76952ee81a326d70ec4fc1801318d172fcaad74d..760818bafdf0686a72441527bc86250bd5eba5b4 100644 (file)
@@ -1576,6 +1576,16 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
         return $this->_fluidbook->isOnePage();
     }
 
+    public function isSinglePage(): bool
+    {
+        return $this->isOnePage();
+    }
+
+    public function isDoublePage(): bool
+    {
+        return !$this->isSinglePage();
+    }
+
     /**
      * @param $e \Exception
      * @param $link Link