mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix weight not updating when using arrows to add / remove items
This commit is contained in:
@ -63,6 +63,8 @@ switch GVAR(currentLeftPanel) do {
|
||||
};
|
||||
|
||||
(_display displayCtrl IDC_loadIndicatorBar) progressSetPosition _load;
|
||||
(_display displayCtrl IDC_totalWeightText) ctrlSetText (GVAR(center) call EFUNC(movement,getWeight)); // TBL
|
||||
|
||||
|
||||
private _value = {_x == _item} count _items;
|
||||
_ctrlList lnbSetText [[_lnbCurSel, 2],str _value];
|
@ -101,4 +101,4 @@ switch (GVAR(currentRightPanel)) do {
|
||||
};
|
||||
};
|
||||
|
||||
(_display displayCtrl IDC_totalWeightText) ctrlSetText (GVAR(center) call EFUNC(movement,getWeight)); // TBL
|
||||
(_display displayCtrl IDC_totalWeightText) ctrlSetText (GVAR(center) call EFUNC(movement,getWeight));
|
||||
|
Reference in New Issue
Block a user