Common - Fixed CBA keybinds not working with progress bar (#9139)

* Fixed CBA keybinds not working on the progress bar after cursor hiding change

* Removed fallback value for uiNamespace lookup

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>

---------

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
This commit is contained in:
JonBons 2023-02-13 21:57:32 -06:00 committed by GitHub
parent 06ae622dda
commit 86d79b2fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,8 +30,12 @@ private _player = ACE_player;
closeDialog 0;
createDialog QGVAR(ProgressBar_Dialog);
// Hide cursor by using custom transparent cursor
private _display = uiNamespace getVariable QGVAR(dlgProgress);
// Ensure CBA keybindings are hooked into the display
_display call (uiNamespace getVariable "CBA_events_fnc_initDisplayCurator");
// Hide cursor by using custom transparent cursor
private _map = _display displayCtrl 101;
_map ctrlMapCursor ["", QGVAR(blank)];