feat: some fixes

This commit is contained in:
maybegreat48 committed 2025-05-18 09:44:30 -04:00
1 parent 186e196bca
commit 7b4f56fc28
3 files changed
+16 -15

No files matched your search

+1 -4
View File
@@ -32,10 +32,7 @@ namespace YimMenu
if (scanSuccess)
scanSuccess = job.get();
}
if (!scanSuccess)
{
LOG(FATAL) << "Some patterns have not been found, continuing would be foolish.";
}
return scanSuccess;
}
+14 -11
View File
@@ -42,22 +42,25 @@ namespace YimMenu
ImGui::SetNextWindowSize(ImVec2(*Pointers.ScreenResX - x_pos - 10, *Pointers.ScreenResY - y_pos), ImGuiCond_Always);
ImGui::SetNextWindowPos(ImVec2(x_pos, y_pos), ImGuiCond_Always);
ImGui::PushStyleColor(ImGuiCol_Border, ImVec4(0.0f, 0.0f, 0.0f, 0.0f));
ImGui::PushFont(Menu::Font::g_ChatFont);
ImGui::Begin("##chatwin", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoInputs);
for (auto& message : m_Messages)
if (ImGui::Begin("##chatwin", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoInputs))
{
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(message.m_Color));
ImGui::TextWrapped("%s:", message.m_Sender.data());
ImGui::PushStyleColor(ImGuiCol_Border, ImVec4(0.0f, 0.0f, 0.0f, 0.0f));
ImGui::PushFont(Menu::Font::g_ChatFont);
for (auto& message : m_Messages)
{
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(message.m_Color));
ImGui::TextWrapped("%s:", message.m_Sender.data());
ImGui::PopStyleColor();
ImGui::SameLine();
ImGui::TextWrapped("%s", message.m_Message.data());
}
ImGui::PopFont();
ImGui::PopStyleColor();
ImGui::SameLine();
ImGui::TextWrapped("%s", message.m_Message.data());
}
ImGui::PopFont();
ImGui::PopStyleColor();
ImGui::End();
}
+1
View File
@@ -373,6 +373,7 @@ namespace YimMenu
if (IsSocialClubNeverGoingToLoad())
{
LOG(WARNING) << "Timed out checking for socialclub.dll";
return false;
}