citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.57k stars 2.11k forks source link

Ultrawide minimap position is wrong #2719

Closed Paneedah closed 3 months ago

Paneedah commented 3 months ago

What happened?

Using the default GTAV minimap when using FiveM and an ultrawide monitor results in the map to not go to the bottom-right corner as expected.

For example:

screenshot-min

As you can see, the minimap is still in the center(ish) of the screen as if it was following a 16:9 aspect ratio. We have verified that the screen safe-zone is setup correctly and that this does not happen in default GTAV.

This happens with every player who uses an ultra-wide as far as I can see.

Expected result

The minimap to go to the corner of the screen the same as it does with normal GTAV.

Reproduction steps

Enable the Minimap, use an ultra-wide monitor, boom.

Importancy

Slight inconvenience

Area(s)

FiveM

Specific version(s)

FiveM 9479/beta

Additional information

No response

spacevx commented 3 months ago

Hello did you tried on a empty server?

Paneedah commented 3 months ago

Yes I did also try it on an empty server. I just happen to have taken the screenshot on the main server that I'm developing. Seems to happen everywhere.

Korioz commented 3 months ago

Hello, this is not a FiveM issue this can be easily reproduced on a vanilla GTA V client, if you really want to fix this you can position manually the minimap with scripting or find a resource for that.