Arsenal - Disable action buttons when hidden (#9664)

Update fnc_handleActions.sqf
This commit is contained in:
johnb432 2023-11-28 02:15:09 +01:00 committed by GitHub
parent 65be883eea
commit f94197b1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,12 +118,14 @@ _actionsCurrentPageCtrl ctrlCommit 0;
_actionTextCtrl ctrlSetFade 0; _actionTextCtrl ctrlSetFade 0;
_actionTextCtrl ctrlCommit 0; _actionTextCtrl ctrlCommit 0;
_actionButtonCtrl ctrlSetFade 1; _actionButtonCtrl ctrlSetFade 1;
_actionButtonCtrl ctrlEnable false;
_actionButtonCtrl ctrlCommit 0; _actionButtonCtrl ctrlCommit 0;
}; };
default { default {
_actionTextCtrl ctrlSetFade 1; _actionTextCtrl ctrlSetFade 1;
_actionTextCtrl ctrlCommit 0; _actionTextCtrl ctrlCommit 0;
_actionButtonCtrl ctrlSetFade 1; _actionButtonCtrl ctrlSetFade 1;
_actionButtonCtrl ctrlEnable false;
_actionButtonCtrl ctrlCommit 0; _actionButtonCtrl ctrlCommit 0;
}; };
}; };