small improvements
This commit is contained in:
		@@ -52,7 +52,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
 | 
			
		||||
	/*
 | 
			
		||||
	 * Constants
 | 
			
		||||
	 */
 | 
			
		||||
	const VERSION                     = '0.218';
 | 
			
		||||
	const VERSION                     = '0.219';
 | 
			
		||||
	const API_VERSION                 = '2013-04-16';
 | 
			
		||||
	const MIN_DEDIVERSION             = '2017-05-03_21_00';
 | 
			
		||||
	const SCRIPT_TIMEOUT              = 40;
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user