position change
This commit is contained in:
parent
16c5a12cff
commit
3d9f0601fe
@ -41,8 +41,8 @@ class AdminMenu implements CallbackListener {
|
|||||||
$this->maniaControl = $maniaControl;
|
$this->maniaControl = $maniaControl;
|
||||||
|
|
||||||
// Init settings
|
// Init settings
|
||||||
$this->maniaControl->settingManager->initSetting($this, self::SETTING_MENU_POSX, 130.);
|
$this->maniaControl->settingManager->initSetting($this, self::SETTING_MENU_POSX, 155.);
|
||||||
$this->maniaControl->settingManager->initSetting($this, self::SETTING_MENU_POSY, -70.);
|
$this->maniaControl->settingManager->initSetting($this, self::SETTING_MENU_POSY, -60.);
|
||||||
$this->maniaControl->settingManager->initSetting($this, self::SETTING_MENU_ITEMSIZE, 6.);
|
$this->maniaControl->settingManager->initSetting($this, self::SETTING_MENU_ITEMSIZE, 6.);
|
||||||
|
|
||||||
// Register for callbacks
|
// Register for callbacks
|
||||||
@ -54,9 +54,9 @@ class AdminMenu implements CallbackListener {
|
|||||||
* Add a new menu item
|
* Add a new menu item
|
||||||
*
|
*
|
||||||
* @param Control $control
|
* @param Control $control
|
||||||
* @param float $order
|
* @param int $order
|
||||||
*/
|
*/
|
||||||
public function addMenuItem(Control $control, $order = 0.) {
|
public function addMenuItem(Control $control, $order = 0) {
|
||||||
if (!isset($this->menuItems[$order])) {
|
if (!isset($this->menuItems[$order])) {
|
||||||
$this->menuItems[$order] = array();
|
$this->menuItems[$order] = array();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user