mirror of
https://github.com/andrewchilicki/LumonMDR.git
synced 2025-07-01 10:07:27 -04:00
Fix refined groups counter
This commit is contained in:
@ -41,7 +41,7 @@ public:
|
||||
if (num->displayInfos.isVisible) {
|
||||
visibleBadGroups.emplace(groupId);
|
||||
|
||||
if (badGroup->isActive && groupId == *activeBadGroup) {
|
||||
if (badGroup->isActive && groupId == *activeBadGroup && !badGroup->refined) {
|
||||
activeGroupStillVisible = true;
|
||||
}
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ private:
|
||||
gridNumber->badGroup->superActive = true;
|
||||
}
|
||||
// Mark as refined on 'LEFT CLICK'
|
||||
if (numberScale >= (0.5f + displaySettings.mouseScaleMultiplier) && ImGui::IsKeyDown(ImGuiKey_MouseLeft)) {
|
||||
if (!gridNumber->badGroup->refined && numberScale >= (0.5f + displaySettings.mouseScaleMultiplier) && ImGui::IsKeyDown(ImGuiKey_MouseLeft)) {
|
||||
gridNumber->badGroup->refined = true;
|
||||
bins[gridNumber->badGroup->binIdx].badGroupsRefined++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user