small improvements

This commit is contained in:
kremsy
2017-05-20 12:37:34 +02:00
parent ec604f7a64
commit 8241abdbf2
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ class DedimaniaWebHandler {
*
* @param bool $updateRecords
*/
public function openDedimaniaSession($updateRecords = true) {
public function openDedimaniaSession($updateRecords = false) {
$content = $this->encodeRequest(self::DEDIMANIA_OPEN_SESSION, array($this->dedimaniaData->toArray()));
$asyncHttpRequest = new AsyncHttpRequest($this->maniaControl, self::DEDIMANIA_URL);

View File

@ -336,7 +336,7 @@ class LocalRecordsPlugin implements ManialinkPageAnswerListener, CallbackListene
$nameLabel = new Label();
$recordFrame->addChild($nameLabel);
$nameLabel->setHorizontalAlign($nameLabel::LEFT);
$nameLabel->setX($width * -0.4);
$nameLabel->setX($width * -0.36);
$nameLabel->setSize($width * 0.6, $lineHeight);
$nameLabel->setTextSize(1);
$nameLabel->setText($record->nickname);