small fault fixes
This commit is contained in:
parent
a9e24234e0
commit
8a9ae9465a
@ -413,7 +413,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
|
|||||||
$listShownValue = $this->playersListShown[$player->login];
|
$listShownValue = $this->playersListShown[$player->login];
|
||||||
if ($listShownValue && $listShownValue !== self::SHOWN_MAIN_WINDOW) {
|
if ($listShownValue && $listShownValue !== self::SHOWN_MAIN_WINDOW) {
|
||||||
$frame = $this->showAdvancedPlayerWidget($player, $listShownValue);
|
$frame = $this->showAdvancedPlayerWidget($player, $listShownValue);
|
||||||
$manialink->addChild($frame);
|
$maniaLink->addChild($frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Render and display xml
|
// Render and display xml
|
||||||
|
@ -324,7 +324,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
|
|||||||
//Define Description Label
|
//Define Description Label
|
||||||
$menuEntries = count($this->voteMenuItems);
|
$menuEntries = count($this->voteMenuItems);
|
||||||
$descriptionFrame = new Frame();
|
$descriptionFrame = new Frame();
|
||||||
$manialink->addChild($descriptionFrame);
|
$maniaLink->addChild($descriptionFrame);
|
||||||
$descriptionFrame->setPosition($posX - $menuEntries * $itemSize * 1.15 - 6, $posY);
|
$descriptionFrame->setPosition($posX - $menuEntries * $itemSize * 1.15 - 6, $posY);
|
||||||
|
|
||||||
$descriptionLabel = new Label();
|
$descriptionLabel = new Label();
|
||||||
@ -336,7 +336,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
|
|||||||
|
|
||||||
//Popout Frame
|
//Popout Frame
|
||||||
$popoutFrame = new Frame();
|
$popoutFrame = new Frame();
|
||||||
$manialink->addChild($popoutFrame);
|
$maniaLink->addChild($popoutFrame);
|
||||||
$popoutFrame->setPosition($posX - $itemSize * 0.5, $posY);
|
$popoutFrame->setPosition($posX - $itemSize * 0.5, $posY);
|
||||||
$popoutFrame->setHorizontalAlign($popoutFrame::RIGHT);
|
$popoutFrame->setHorizontalAlign($popoutFrame::RIGHT);
|
||||||
$popoutFrame->setSize(4 * $itemSize * $itemMarginFactorX, $itemSize * $itemMarginFactorY);
|
$popoutFrame->setSize(4 * $itemSize * $itemMarginFactorX, $itemSize * $itemMarginFactorY);
|
||||||
|
@ -191,7 +191,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin {
|
|||||||
|
|
||||||
// Values Menu
|
// Values Menu
|
||||||
$popoutFrame = new Frame();
|
$popoutFrame = new Frame();
|
||||||
$manialink->addChild($popoutFrame);
|
$maniaLink->addChild($popoutFrame);
|
||||||
$popoutFrame->setPosition($posX - $itemSize * 0.5, $posY);
|
$popoutFrame->setPosition($posX - $itemSize * 0.5, $posY);
|
||||||
$popoutFrame->setHorizontalAlign($popoutFrame::RIGHT);
|
$popoutFrame->setHorizontalAlign($popoutFrame::RIGHT);
|
||||||
$popoutFrame->setSize(4 * $itemSize * $itemMarginFactorX, $itemSize * $itemMarginFactorY);
|
$popoutFrame->setSize(4 * $itemSize * $itemMarginFactorX, $itemSize * $itemMarginFactorY);
|
||||||
@ -208,7 +208,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin {
|
|||||||
|
|
||||||
// Description Label
|
// Description Label
|
||||||
$descriptionFrame = new Frame();
|
$descriptionFrame = new Frame();
|
||||||
$manialink->addChild($descriptionFrame);
|
$maniaLink->addChild($descriptionFrame);
|
||||||
$descriptionFrame->setPosition($posX - 50, $posY - 5);
|
$descriptionFrame->setPosition($posX - 50, $posY - 5);
|
||||||
$descriptionFrame->setHorizontalAlign($descriptionFrame::RIGHT);
|
$descriptionFrame->setHorizontalAlign($descriptionFrame::RIGHT);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user