1
0
mirror of synced 2024-11-28 09:30:51 +01:00

fix: Highlight and tooltip flickering when hovering over highlighted patterns

This commit is contained in:
WerWolv 2024-04-05 18:49:19 +02:00
parent a449f7a5e3
commit e6a14977b9

View File

@ -596,6 +596,8 @@ namespace hex::ui {
auto cellSize = (CharacterSize * ImVec2(m_currDataVisualizer->getMaxCharsPerCell(), 1)) + (ImVec2(2, 2) * ImGui::GetStyle().CellPadding) + scaled(ImVec2(1 + m_byteCellPadding, 0));
auto maxCharsPerCell = m_currDataVisualizer->getMaxCharsPerCell();
cellSize = ImVec2(std::ceil(cellSize.x), std::ceil(cellSize.y));
auto [foregroundColor, backgroundColor] = cellColors[x];
if (isColumnSeparatorColumn(x + 1, columnCount) && cellColors.size() > x + 1) {