Fixed bug with unexpected opacity being applied to highlighting border.

This commit is contained in:
Nav
2023-08-26 02:53:11 +01:00
parent 362bc22262
commit 2e38fd237f

View File

@@ -39,14 +39,14 @@ namespace Widgets
auto* parentItem = firstItem->parent;
while (parentItem != nullptr) {
painter->setOpacity(1);
this->paintItem(parentItem, painter);
parentItem = parentItem->parent;
painter->setOpacity(1);
}
for (auto& item : visibleItems) {
painter->setOpacity(1);
this->paintItem(item, painter);
painter->setOpacity(1);
}
if (this->hexViewerState.highlightingEnabled) {