Fixed bug with unexpected opacity being applied to highlighting border.
This commit is contained in:
@@ -39,14 +39,14 @@ namespace Widgets
|
|||||||
|
|
||||||
auto* parentItem = firstItem->parent;
|
auto* parentItem = firstItem->parent;
|
||||||
while (parentItem != nullptr) {
|
while (parentItem != nullptr) {
|
||||||
painter->setOpacity(1);
|
|
||||||
this->paintItem(parentItem, painter);
|
this->paintItem(parentItem, painter);
|
||||||
parentItem = parentItem->parent;
|
parentItem = parentItem->parent;
|
||||||
|
painter->setOpacity(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto& item : visibleItems) {
|
for (auto& item : visibleItems) {
|
||||||
painter->setOpacity(1);
|
|
||||||
this->paintItem(item, painter);
|
this->paintItem(item, painter);
|
||||||
|
painter->setOpacity(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this->hexViewerState.highlightingEnabled) {
|
if (this->hexViewerState.highlightingEnabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user