mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
The previous GUI state is now restored when you open the ATragMX
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
* Toggles the range card setup screen on/off
|
||||
*
|
||||
* Arguments:
|
||||
* Nothing
|
||||
* Apply new range card settings <BOOL>
|
||||
*
|
||||
* Return Value:
|
||||
* Nothing
|
||||
@ -15,8 +15,6 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
#define _dsp (uiNamespace getVariable "ATragMX_Display")
|
||||
|
||||
if (ctrlVisible 10000) then
|
||||
{
|
||||
false call FUNC(show_range_card_setup);
|
||||
@ -35,10 +33,4 @@ if (ctrlVisible 10000) then
|
||||
{
|
||||
false call FUNC(show_range_card);
|
||||
true call FUNC(show_range_card_setup);
|
||||
|
||||
ctrlSetFocus (_dsp displayCtrl 10006);
|
||||
|
||||
ctrlSetText [10003, Str(Round(GVAR(rangeCardStartRange)))];
|
||||
ctrlSetText [10004, Str(Round(GVAR(rangeCardEndRange)))];
|
||||
ctrlSetText [10005, Str(Round(GVAR(rangeCardIncrement)))];
|
||||
};
|
||||
|
Reference in New Issue
Block a user