mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Pylons: Evaluate String Values from config (#5667)
This commit is contained in:
parent
914ea66b2f
commit
e769d092af
@ -60,6 +60,7 @@ GVAR(comboBoxes) = [];
|
||||
private _combo = _display ctrlCreate [QGVAR(CtrlCombo), -1];
|
||||
private _picturePos = ctrlPosition (_display displayCtrl ID_PICTURE_AIRCRAFT);
|
||||
private _uiPos = getArray (_x >> "UIposition");
|
||||
MAP(_uiPos,if (_x isEqualType 0) then {_x} else {call compile _x}); // Handle string positions
|
||||
_combo ctrlSetPosition [
|
||||
(_picturePos select 0) + (_uiPos select 0),
|
||||
(_picturePos select 1) + (_uiPos select 1),
|
||||
|
Loading…
Reference in New Issue
Block a user