From 3a888d48df8a3908007165086d74714334005b2e Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 20 Jan 2025 21:25:00 +0100 Subject: [PATCH] fix: ID collision with color inline visualizer --- plugins/visualizers/source/content/pl_inline_visualizers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/visualizers/source/content/pl_inline_visualizers.cpp b/plugins/visualizers/source/content/pl_inline_visualizers.cpp index 6c5088c33..63470f879 100644 --- a/plugins/visualizers/source/content/pl_inline_visualizers.cpp +++ b/plugins/visualizers/source/content/pl_inline_visualizers.cpp @@ -18,7 +18,7 @@ namespace hex::plugin::visualizers { auto b = arguments[2].toFloatingPoint(); auto a = arguments[3].toFloatingPoint(); - ImGui::ColorButton("color", ImVec4(r / 255.0F, g / 255.0F, b / 255.0F, a / 255.0F), ImGuiColorEditFlags_NoTooltip, ImVec2(ImGui::GetColumnWidth(), ImGui::GetTextLineHeight())); + ImGui::ColorButton("##color_visualizer", ImVec4(r / 255.0F, g / 255.0F, b / 255.0F, a / 255.0F), ImGuiColorEditFlags_NoTooltip, ImVec2(ImGui::GetColumnWidth(), ImGui::GetTextLineHeight())); } void drawGaugeInlineVisualizer(pl::ptrn::Pattern &, bool, std::span arguments) {