1
0
mirror of synced 2025-01-22 11:33:46 +01:00

fix: ID collision with color inline visualizer

This commit is contained in:
WerWolv 2025-01-20 21:25:00 +01:00
parent 721de39dbb
commit 3a888d48df

View File

@ -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<const pl::core::Token::Literal> arguments) {