Disable minimap rotation by default and fix settings checkbox

Changed default value from true to false in three places:
- Minimap class (rotateWithCamera member)
- GameScreen settings (minimapRotate_ and pendingMinimapRotate)
- Restore Interface Defaults button

The minimap will now remain fixed/north-up by default, and the settings
checkbox properly controls the rotation behavior.
This commit is contained in:
Kelsi 2026-02-09 01:13:56 -08:00
parent dbf3038560
commit 980cec00bf
3 changed files with 4 additions and 4 deletions

View file

@ -78,7 +78,7 @@ private:
int mapSize = 200; int mapSize = 200;
float viewRadius = 400.0f; // world units visible in minimap radius float viewRadius = 400.0f; // world units visible in minimap radius
bool enabled = true; bool enabled = true;
bool rotateWithCamera = true; bool rotateWithCamera = false;
// Throttling // Throttling
float updateIntervalSec = 0.25f; float updateIntervalSec = 0.25f;

View file

@ -70,11 +70,11 @@ private:
float pendingMouseSensitivity = 0.2f; float pendingMouseSensitivity = 0.2f;
bool pendingInvertMouse = false; bool pendingInvertMouse = false;
int pendingUiOpacity = 65; int pendingUiOpacity = 65;
bool pendingMinimapRotate = true; bool pendingMinimapRotate = false;
// UI element transparency (0.0 = fully transparent, 1.0 = fully opaque) // UI element transparency (0.0 = fully transparent, 1.0 = fully opaque)
float uiOpacity_ = 0.65f; float uiOpacity_ = 0.65f;
bool minimapRotate_ = true; bool minimapRotate_ = false;
/** /**
* Render player info window * Render player info window

View file

@ -4145,7 +4145,7 @@ void GameScreen::renderSettingsWindow() {
ImGui::Checkbox("Rotate Minimap", &pendingMinimapRotate); ImGui::Checkbox("Rotate Minimap", &pendingMinimapRotate);
if (ImGui::Button("Restore Interface Defaults", ImVec2(-1, 0))) { if (ImGui::Button("Restore Interface Defaults", ImVec2(-1, 0))) {
pendingUiOpacity = 65; pendingUiOpacity = 65;
pendingMinimapRotate = true; pendingMinimapRotate = false;
} }
ImGui::Spacing(); ImGui::Spacing();