From 2510f61a4e6273c7f52de1f5e9a12ad1b74ef85d Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 9 Feb 2022 08:55:00 +0100 Subject: [PATCH] pattern: Fixed array pattern data columns being offset --- lib/libimhex/include/hex/pattern_language/pattern_data.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libimhex/include/hex/pattern_language/pattern_data.hpp b/lib/libimhex/include/hex/pattern_language/pattern_data.hpp index b1ba90e12..0679cf5b9 100644 --- a/lib/libimhex/include/hex/pattern_language/pattern_data.hpp +++ b/lib/libimhex/include/hex/pattern_language/pattern_data.hpp @@ -807,8 +807,6 @@ namespace hex::pl { } this->drawCommentTooltip(); ImGui::TableNextColumn(); - ImGui::ColorButton("color", ImColor(this->getColor()), ImGuiColorEditFlags_NoTooltip, ImVec2(ImGui::GetColumnWidth(), ImGui::GetTextLineHeight())); - ImGui::TableNextColumn(); ImGui::TextFormatted("0x{0:08X} : 0x{1:08X}", this->getOffset(), this->getOffset() + this->getSize() - 1); ImGui::TableNextColumn(); ImGui::TextFormatted("0x{0:04X}", this->getSize()); @@ -957,8 +955,6 @@ namespace hex::pl { } this->drawCommentTooltip(); ImGui::TableNextColumn(); - ImGui::ColorButton("color", ImColor(this->getColor()), ImGuiColorEditFlags_NoTooltip, ImVec2(ImGui::GetColumnWidth(), ImGui::GetTextLineHeight())); - ImGui::TableNextColumn(); ImGui::TextFormatted("0x{0:08X} : 0x{1:08X}", this->getOffset(), this->getOffset() + this->getSize() - 1); ImGui::TableNextColumn(); ImGui::TextFormatted("0x{0:04X}", this->getSize());