@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use eXpansion\Framework\Core\Model\Gui\ManialinkInterface; |
| 12 | 12 | use eXpansion\Framework\Core\Plugins\Gui\ActionFactory; |
| 13 | 13 | use eXpansion\Framework\Gui\Components\Button; |
| 14 | -use eXpansion\Framework\Gui\Components\Label as uiLAbel; |
|
| 15 | 14 | use eXpansion\Framework\Gui\Ui\Factory; |
| 16 | 15 | use FML\Controls\Frame; |
| 17 | 16 | use FML\Controls\Label; |
@@ -109,6 +109,9 @@ |
||
| 109 | 109 | } |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | + /** |
|
| 113 | + * @return null|\DOMNode |
|
| 114 | + */ |
|
| 112 | 115 | private function castTagToMethod($tag, \DOMNode $node) |
| 113 | 116 | { |
| 114 | 117 | if (substr($tag, 0, 2) == "ui") { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | */ |
| 134 | 134 | public function setMargin($margin) |
| 135 | 135 | { |
| 136 | - $this->margin = (float)$margin; |
|
| 136 | + $this->margin = (float) $margin; |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | $manialink->setData('playerActions', []); |
| 117 | 117 | $manialink->setData('mapUid', $this->mapStorage->getCurrentMap()->uId); |
| 118 | 118 | |
| 119 | - $frame = Frame::create();; |
|
| 119 | + $frame = Frame::create(); ; |
|
| 120 | 120 | $frame->setPosition(75, 0); |
| 121 | 121 | $manialink->setData("playerFrame", $frame); |
| 122 | 122 | $manialink->addChild($frame); |