mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
2a6ec4c7d4
HideComponents stores the value GetHudComponentSize returns and reads back size.x and size.z when restoring, but the meaningful fields are x and y - the hide branch a few lines above tests exactly those. size.z is 0.0, so the components are restored at height zero and stay invisible for the rest of the session. Measured on artifact 25770 after character selection, components 11 and 12: before: x=0.218 y=0.000 (width restored, height lost) after: x=0.218 y=0.389