From 783cc0c31159c626aed544b499a02630743e90a8 Mon Sep 17 00:00:00 2001 From: beu Date: Wed, 28 Jan 2026 12:20:03 +0100 Subject: [PATCH] fix listing on larger size --- MatchManagerSuite/MatchManagerMultipleConfigManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MatchManagerSuite/MatchManagerMultipleConfigManager.php b/MatchManagerSuite/MatchManagerMultipleConfigManager.php index e06ef0c..1acbe48 100644 --- a/MatchManagerSuite/MatchManagerMultipleConfigManager.php +++ b/MatchManagerSuite/MatchManagerMultipleConfigManager.php @@ -44,7 +44,7 @@ class MatchManagerMultipleConfigManager implements ManialinkPageAnswerListener, * Constants */ const PLUGIN_ID = 171; - const PLUGIN_VERSION = 1.8; + const PLUGIN_VERSION = 1.9; const PLUGIN_NAME = 'MatchManager Multiple Config Manager'; const PLUGIN_AUTHOR = 'Beu'; @@ -516,7 +516,7 @@ class MatchManagerMultipleConfigManager implements ManialinkPageAnswerListener, $pageFrame = null; foreach ($this->getSavedConfigs() as $config) { - if ($index % 16 === 0) { + if ($index % (floor(($height - 20.) / 4)) === 0) { $pageFrame = new Frame(); $frame->addChild($pageFrame); $posY = $height / 2 - 10;