Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startboxes in minimap do not account for rotation (flipping) #4280

Open
badosu opened this issue Feb 5, 2025 · 0 comments
Open

Startboxes in minimap do not account for rotation (flipping) #4280

badosu opened this issue Feb 5, 2025 · 0 comments
Labels
Bug Something isn't working

Comments

@badosu
Copy link
Contributor

badosu commented Feb 5, 2025

Description

How to reproduce

  • Open a game with startboxes
  • Flip the camera 180 degrees with MiniMapCanFlip option set (default in BAR)
  • Notice the minimap rotates accordingly but not the startboxes

Suggested Fix

  • Use VFS.Include("luaui/Widgets/Include/minimap_utils.lua").getMiniMapFlipped to check whether minimap is flipped or not
  • Perform a combination of translation and/or scaling to achieve the rotation of the drawn startboxes

Expected Behaviour

  • Open a game with startboxes
  • Flip the camera 180 degrees with MiniMapCanFlip option set (default in BAR)
  • Notice the minimap rotates accordingly and also the startboxes

Actual Behaviour

  • Open a game with startboxes
  • Flip the camera 180 degrees with MiniMapCanFlip option set (default in BAR)
  • Notice the minimap rotates accordingly but not the startboxes

Reproduction steps

  • Open a game with startboxes
  • Flip the camera 180 degrees with MiniMapCanFlip option set (default in BAR)
  • Notice the minimap rotates accordingly but not the startboxes

Other

No response

@badosu badosu added the Bug Something isn't working label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant