fix other paging sizes

This commit is contained in:
beu committed 2023-09-08 16:00:30 +02:00
1 parent 478e842230
commit 8b3e624d1c
6 files changed
+46 -20

No files matched your search

+2 -1
View File
@@ -238,9 +238,10 @@ class HelpManager implements CommandListener, CallbackListener, ManialinkPageAns
$index = 1;
$posY -= 10;
$pageFrame = null;
$pageMaxCount = floor($height * 0.80 / 4);
foreach ($commands as $command) {
if ($index % 15 === 1) {
if ($index % $pageMaxCount === 1) {
$pageFrame = new Frame();
$frame->addChild($pageFrame);
$posY = $height / 2 - 10;