mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Keep cursored menus always centered. Fix #299.
This commit is contained in:
parent
824448833f
commit
a5ff34e1d8
@ -89,7 +89,7 @@ _fnc_renderSelfActions = {
|
||||
{
|
||||
_action = _x;
|
||||
|
||||
_pos = if !(visibleMap) then {
|
||||
_pos = if !(GVAR(useCursorMenu)) then {
|
||||
(((positionCameraToWorld [0, 0, 0]) call EFUNC(common,positionToASL)) vectorAdd GVAR(selfMenuOffset)) call EFUNC(common,ASLToPosition)
|
||||
} else {
|
||||
[0.5, 0.5]
|
||||
|
Loading…
Reference in New Issue
Block a user