Fixed regression bug with byte item hovering when row/col highlighting is disabled

This commit is contained in:
Nav
2023-03-19 00:20:05 +00:00
parent e727ff166c
commit 03ef7f0f8b

View File

@@ -619,11 +619,19 @@ namespace Bloom::Widgets
this->hoverRectY->update();
}
if (byteItem.allocatedGraphicsItem != nullptr) {
byteItem.allocatedGraphicsItem->update();
}
emit this->hoveredAddress(byteItem.startAddress);
}
void ItemGraphicsScene::onByteItemLeave() {
if (this->state.hoveredByteItem != nullptr) {
if (this->state.hoveredByteItem->allocatedGraphicsItem != nullptr) {
this->state.hoveredByteItem->allocatedGraphicsItem->update();
}
this->state.hoveredByteItem = nullptr;
}