Skip to content

Commit

Permalink
Merge pull request #126 from gruppe-adler/fix_screenshot_mode
Browse files Browse the repository at this point in the history
Fix screenshot mode
  • Loading branch information
AdlerSalbei authored Apr 17, 2019
2 parents 549b72d + 4c2ec54 commit bdec285
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions addons/screenshotMode/cfgFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class CfgFunctions {
file = "x\grad\addons\screenshotMode\functions";
class toggleAll {};
class toggleACENametags {};
class toggleDuiHud {};
class toggleSTHud {};
class toggleTFAR {};
class toggleVanillaHUD {};
Expand Down
3 changes: 2 additions & 1 deletion addons/screenshotMode/functions/fn_toggleAll.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ private _newState = param [0, true];
FUNC(toggleACENametags),
FUNC(toggleSTHud),
FUNC(toggleTFAR),
FUNC(toggleVanillaHUD)
FUNC(toggleVanillaHUD),
FUNC(toggleDuiHud)
];

false;
4 changes: 4 additions & 0 deletions addons/screenshotMode/functions/fn_toggleDuiHud.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
params ["_stateChange"];

diwako_dui_main_toggled_off = !_stateChange;

0 comments on commit bdec285

Please sign in to comment.