diff --git a/addons/optics/fnc_initDisplayInterrupt.sqf b/addons/optics/fnc_initDisplayInterrupt.sqf index cda007f21..260923da1 100644 --- a/addons/optics/fnc_initDisplayInterrupt.sqf +++ b/addons/optics/fnc_initDisplayInterrupt.sqf @@ -46,7 +46,7 @@ private _ctrlBlackRight = _display ctrlCreate ["RscText", IDC_BLACK_RIGHT]; private _width = THIRD_SCREEN_WIDTH; if (GVAR(hidePeripheralVision)) then { - _width = 0.5 - (_bodyPosition select 2)/2 - safezoneXAbs; + _width = 0.5 - (_bodyPosition select 2)/2 - safezoneXAbs + pixelW/2; }; _ctrlBlackLeft ctrlSetBackgroundColor [0,0,0,1]; diff --git a/addons/optics/fnc_loadScriptedOptic.sqf b/addons/optics/fnc_loadScriptedOptic.sqf index d1a982ec5..785d034c1 100644 --- a/addons/optics/fnc_loadScriptedOptic.sqf +++ b/addons/optics/fnc_loadScriptedOptic.sqf @@ -85,7 +85,7 @@ _ctrlReticleSafezone ctrlCommit 0; private _width = THIRD_SCREEN_WIDTH; if (GVAR(hidePeripheralVision)) then { - _width = 0.5 - (_bodyPosition select 2)/2 - safezoneXAbs; + _width = 0.5 - (_bodyPosition select 2)/2 - safezoneXAbs + pixelW/2; }; _ctrlBlackLeft ctrlSetPositionW _width;