Corrected z-value of confirmation frame in maplist

This commit is contained in:
Jocy 2017-04-01 17:22:38 +02:00
parent 3e138a9065
commit a9f462ea8f

View File

@ -558,16 +558,19 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$maniaLink->addChild($confirmFrame); $maniaLink->addChild($confirmFrame);
$confirmFrame->setPosition($width / 2 + 6, $posY); $confirmFrame->setPosition($width / 2 + 6, $posY);
$confirmFrame->setVisible(false); $confirmFrame->setVisible(false);
$confirmFrame->setZ(ManialinkManager::MAIN_MANIALINK_Z_VALUE);
$quad = new Quad(); $quad = new Quad();
$confirmFrame->addChild($quad); $confirmFrame->addChild($quad);
$quad->setStyles($quadStyle, $quadSubstyle); $quad->setStyles($quadStyle, $quadSubstyle);
$quad->setSize(12, 4); $quad->setSize(12, 4);
$quad->setZ(-0.5);
$quad = new Quad_BgsPlayerCard(); $quad = new Quad_BgsPlayerCard();
$confirmFrame->addChild($quad); $confirmFrame->addChild($quad);
$quad->setSubStyle($quad::SUBSTYLE_BgCardSystem); $quad->setSubStyle($quad::SUBSTYLE_BgCardSystem);
$quad->setSize(11, 3.5); $quad->setSize(11, 3.5);
$quad->setZ(-0.3);
$label = new Label_Button(); $label = new Label_Button();
$confirmFrame->addChild($label); $confirmFrame->addChild($label);