small improvements
This commit is contained in:
parent
ec604f7a64
commit
8241abdbf2
@ -52,7 +52,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
|
|||||||
/*
|
/*
|
||||||
* Constants
|
* Constants
|
||||||
*/
|
*/
|
||||||
const VERSION = '0.218';
|
const VERSION = '0.219';
|
||||||
const API_VERSION = '2013-04-16';
|
const API_VERSION = '2013-04-16';
|
||||||
const MIN_DEDIVERSION = '2017-05-03_21_00';
|
const MIN_DEDIVERSION = '2017-05-03_21_00';
|
||||||
const SCRIPT_TIMEOUT = 40;
|
const SCRIPT_TIMEOUT = 40;
|
||||||
|
@ -44,7 +44,7 @@ class DedimaniaWebHandler {
|
|||||||
*
|
*
|
||||||
* @param bool $updateRecords
|
* @param bool $updateRecords
|
||||||
*/
|
*/
|
||||||
public function openDedimaniaSession($updateRecords = true) {
|
public function openDedimaniaSession($updateRecords = false) {
|
||||||
$content = $this->encodeRequest(self::DEDIMANIA_OPEN_SESSION, array($this->dedimaniaData->toArray()));
|
$content = $this->encodeRequest(self::DEDIMANIA_OPEN_SESSION, array($this->dedimaniaData->toArray()));
|
||||||
|
|
||||||
$asyncHttpRequest = new AsyncHttpRequest($this->maniaControl, self::DEDIMANIA_URL);
|
$asyncHttpRequest = new AsyncHttpRequest($this->maniaControl, self::DEDIMANIA_URL);
|
||||||
|
@ -336,7 +336,7 @@ class LocalRecordsPlugin implements ManialinkPageAnswerListener, CallbackListene
|
|||||||
$nameLabel = new Label();
|
$nameLabel = new Label();
|
||||||
$recordFrame->addChild($nameLabel);
|
$recordFrame->addChild($nameLabel);
|
||||||
$nameLabel->setHorizontalAlign($nameLabel::LEFT);
|
$nameLabel->setHorizontalAlign($nameLabel::LEFT);
|
||||||
$nameLabel->setX($width * -0.4);
|
$nameLabel->setX($width * -0.36);
|
||||||
$nameLabel->setSize($width * 0.6, $lineHeight);
|
$nameLabel->setSize($width * 0.6, $lineHeight);
|
||||||
$nameLabel->setTextSize(1);
|
$nameLabel->setTextSize(1);
|
||||||
$nameLabel->setText($record->nickname);
|
$nameLabel->setText($record->nickname);
|
||||||
|
Loading…
Reference in New Issue
Block a user