Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload Zeus Interface Keybind #542

Merged
merged 3 commits into from
Feb 11, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions addons/editor/initKeybinds.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,14 @@
};
};
}, {}, [0, [false, false, false]]] call CBA_fnc_addKeybind; // Default: Unbound

// Hack fix for the Zeus lockup bug, will reopen Zeus interface.
[ELSTRING(main,DisplayName), QGVAR(reloadDisplay), [LSTRING(ReloadDisplay), LSTRING(ReloadDisplay_Description)], {
if (!isNull curatorCamera && {!GETMVAR(RscDisplayCurator_search,false)}) then {
findDisplay 312 closeDisplay 2;
neilzar marked this conversation as resolved.
Show resolved Hide resolved

{openCuratorInterface} call CBA_fnc_execNextFrame;
CreepPork marked this conversation as resolved.
Show resolved Hide resolved

true //handled
};
}, {}, [DIK_R, [true, true, false]]] call CBA_fnc_addKeybind; // Default: CTRL + SHIFT + R
6 changes: 6 additions & 0 deletions addons/editor/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,11 @@
<Japanese>全編集可アイコンの視認性を切り替えます。一時的な処理軽減や整理に使用できます。</Japanese>
<Polish>Przełącza widoczność wszsytkich ustawionych ikon, przydatne by tymczasowo zmniejszyć lag, bądź niepotrzebne zaśmiecenie ekranu gdy znajduje się na nim dużo ikon.</Polish>
</Key>
<Key ID="STR_ZEN_Editor_ReloadDisplay">
<English>Reload Display</English>
</Key>
<Key ID="STR_ZEN_Editor_ReloadDisplay_Description">
<English>Reloads the Display to fix the UI lockup bug.</English>
neilzar marked this conversation as resolved.
Show resolved Hide resolved
</Key>
</Package>
</Project>