Corrected z-value of confirmation frame in maplist
This commit is contained in:
parent
3e138a9065
commit
a9f462ea8f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user