Fixed regression bug with byte item hovering when row/col highlighting is disabled
This commit is contained in:
@@ -619,11 +619,19 @@ namespace Bloom::Widgets
|
|||||||
this->hoverRectY->update();
|
this->hoverRectY->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (byteItem.allocatedGraphicsItem != nullptr) {
|
||||||
|
byteItem.allocatedGraphicsItem->update();
|
||||||
|
}
|
||||||
|
|
||||||
emit this->hoveredAddress(byteItem.startAddress);
|
emit this->hoveredAddress(byteItem.startAddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ItemGraphicsScene::onByteItemLeave() {
|
void ItemGraphicsScene::onByteItemLeave() {
|
||||||
if (this->state.hoveredByteItem != nullptr) {
|
if (this->state.hoveredByteItem != nullptr) {
|
||||||
|
if (this->state.hoveredByteItem->allocatedGraphicsItem != nullptr) {
|
||||||
|
this->state.hoveredByteItem->allocatedGraphicsItem->update();
|
||||||
|
}
|
||||||
|
|
||||||
this->state.hoveredByteItem = nullptr;
|
this->state.hoveredByteItem = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user