fix: Issues with drawing interactive tutorial

This commit is contained in:
WerWolv
2025-11-30 14:07:57 +01:00
parent f3a2fe5b0d
commit cba93e87eb
5 changed files with 13 additions and 7 deletions

View File

@@ -251,6 +251,7 @@ namespace hex {
{
auto highlightColor = ImGuiExt::GetCustomColorVec4(ImGuiCustomCol_Highlight);
highlightColor.w *= ImSin(ImGui::GetTime() * 6.0F) / 4.0F + 0.75F;
ImHexApi::System::unlockFrameRate();
drawList->AddRect(rect.Min - ImVec2(5, 5), rect.Max + ImVec2(5, 5), ImColor(highlightColor), 5.0F, ImDrawFlags_None, 2.0F);
}