mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Remove redundant "Gear" text next to portrait in Adv Trade
The menu already says "Buying in" or "Selling from" Gear in the top left so having it again in the top right is redundant. It was my mistake adding it there originally.
This commit is contained in:
@@ -13,9 +13,8 @@ if(_selection == 2) then{ //gear
|
||||
|
||||
_pic = getText (configFile >> 'CfgVehicles' >> (typeOf player) >> 'portrait');
|
||||
_formattedText = format [
|
||||
"<t size='1' align='center' color='#ffffff'>%2</t><br />" +
|
||||
"<img image='%1' size='3' align='center'/><br />"
|
||||
, _pic, localize "STR_UI_GEAR"
|
||||
"<img image='%1' size='3' align='center'/>"
|
||||
, _pic
|
||||
];
|
||||
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_CONTAINERINFO) ctrlSetStructuredText parseText _formattedText;
|
||||
|
||||
@@ -17,9 +17,8 @@ _skin = typeOf player;
|
||||
_pic = getText (configFile >> 'CfgVehicles' >> _skin >> 'portrait');
|
||||
|
||||
_formattedText = format [
|
||||
"<t size='1' align='center' color='#ffffff'>%2</t><br />" +
|
||||
"<img image='%1' size='3' align='center'/><br />"
|
||||
, _pic, localize "STR_UI_GEAR"
|
||||
"<img image='%1' size='3' align='center'/>"
|
||||
, _pic
|
||||
];
|
||||
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_CONTAINERINFO) ctrlSetStructuredText parseText _formattedText;
|
||||
|
||||
Reference in New Issue
Block a user