Commit a304e547 authored by Maxim Schedriviy's avatar Maxim Schedriviy

Merge branch 'master' into 'master'

fix carousel

See merge request !41
parents 4da9ae56 9c8dd8ea
Pipeline #93743690 passed with stage
in 0 seconds
......@@ -260,7 +260,7 @@ package com.xvm.lobby.ui.tankcarousel
{
field.antiAliasType = AntiAliasType.ADVANCED;
field.x = cfg.dx + 2;
field.y += - DEFAULT_HEIGHT + item.height + cfg.dy - 2;
field.y += dy;
field.width = (DEFAULT_WIDTH - 4) / field.scaleX;
field.autoSize = TextFieldAutoSize.NONE;
field.defaultTextFormat.align = TextFormatAlign.RIGHT;
......@@ -361,7 +361,7 @@ package com.xvm.lobby.ui.tankcarousel
{
_setupStandardFieldAlpha(renderer.content.txtTankName, cfg.fields.tankName);
_setupStandardFieldScale(renderer.content.txtTankName, cfg.fields.tankName);
_setupStandardTextField(renderer.content.txtTankName, cfg.fields.tankName, 0);
_setupStandardTextField(renderer.content.txtTankName, cfg.fields.tankName, - DEFAULT_HEIGHT + item.height + cfg.dy - 2);
}
private function _setupStandardFieldRentInfo():void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment