Skip to content

Commit

Permalink
fix: ID collision with color inline visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Jan 20, 2025
1 parent 721de39 commit 3a888d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3a888d4

Please sign in to comment.