Show more information in data information window

This commit is contained in:
WerWolv
2020-11-15 16:06:10 +01:00
parent 0b8b887978
commit cd9d0bcf34
6 changed files with 89 additions and 20 deletions

View File

@@ -81,7 +81,7 @@ namespace hex {
if (sortSpecs->SpecsDirty) {
std::sort(this->m_foundStrings.begin(), this->m_foundStrings.end(),
[this, &sortSpecs](FoundString &left, FoundString &right) -> bool {
[&sortSpecs](FoundString &left, FoundString &right) -> bool {
if (sortSpecs->Specs->ColumnUserID == ImGui::GetID("position")) {
if (sortSpecs->Specs->SortDirection == ImGuiSortDirection_Ascending)
return left.offset > right.offset;