From d682ec4ca72fcf3f40a7713eb9bafcc87c29abf5 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Thu, 12 Mar 2026 14:43:58 -0700 Subject: [PATCH] feat: show group leader crown on focus frame for parity with target frame --- src/ui/game_screen.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ui/game_screen.cpp b/src/ui/game_screen.cpp index 923aea8e..c77346c4 100644 --- a/src/ui/game_screen.cpp +++ b/src/ui/game_screen.cpp @@ -4038,6 +4038,15 @@ void GameScreen::renderFocusFrame(game::GameHandler& gameHandler) { ImVec2(ImGui::CalcTextSize(focusName.c_str()).x, 0)); ImGui::PopStyleColor(4); + // Group leader crown — golden ♛ when the focused player is the party/raid leader + if (gameHandler.isInGroup() && focus->getType() == game::ObjectType::PLAYER) { + if (gameHandler.getPartyData().leaderGuid == focus->getGuid()) { + ImGui::SameLine(0, 4); + ImGui::TextColored(ImVec4(1.0f, 0.85f, 0.1f, 1.0f), "\xe2\x99\x9b"); + if (ImGui::IsItemHovered()) ImGui::SetTooltip("Group Leader"); + } + } + // Quest giver indicator and classification badge for NPC focus targets if (focus->getType() == game::ObjectType::UNIT) { auto focusUnit = std::static_pointer_cast(focus);