fixed labelline + FML control update
This commit is contained in:
parent
63ee8a9ae4
commit
e39b903ebd
@ -243,7 +243,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
|
||||
|
||||
$labelLine->addLabelEntryText($map->id, $posX + 3.5, 9);
|
||||
$labelLine->addLabelEntryText($map->name, $posX + 12.5, 38.5);
|
||||
$labelLine->addLabelEntryText($map->author, $posX + 59,-1,self::ACTION_GET_MAPS_FROM_AUTHOR . '.' . $map->author); //FIXME with > 1 disables the ml
|
||||
$labelLine->addLabelEntryText($map->author, $posX + 59, 44, self::ACTION_GET_MAPS_FROM_AUTHOR . '.' . $map->author);
|
||||
$labelLine->addLabelEntryText(str_replace('Arena', '', $map->maptype), $posX + 103, 15);
|
||||
$labelLine->addLabelEntryText($map->mood, $posX + 118, 12);
|
||||
$labelLine->addLabelEntryText($time, $posX + 130, $width - ($posX + 130));
|
||||
@ -251,7 +251,6 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
|
||||
$labelLine->setPrefix('$s');
|
||||
$labelLine->render();
|
||||
|
||||
|
||||
$mapFrame->setY($posY);
|
||||
|
||||
$mxQuad = new Quad();
|
||||
|
@ -52,6 +52,7 @@ class LabelLine implements UsageInformationAble {
|
||||
}
|
||||
if ($width) {
|
||||
$label->setWidth($width);
|
||||
$label->setHeight(5); //TODO verify if 5 is ok for everywhere
|
||||
}
|
||||
$this->addLabel($label);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user