This commit is contained in:
Nav
2022-07-16 19:12:45 +01:00
parent 34993f1733
commit c7cd88e198
7 changed files with 17 additions and 15 deletions

View File

@@ -167,15 +167,17 @@ namespace Bloom::Widgets
} else {
if (this->highlightedAddresses.contains(this->address)) {
return &(disabledHighlightedBackgroundColor);
}
} else if (
if (
this->settings.highlightStackMemory
&& this->currentStackPointer.has_value()
&& this->address > this->currentStackPointer
) {
return &(disabledStackMemoryBackgroundColor);
}
} else if (this->settings.highlightFocusedMemory && this->focusedMemoryRegion != nullptr) {
if (this->settings.highlightFocusedMemory && this->focusedMemoryRegion != nullptr) {
return &(disabledFocusedRegionBackgroundColor);
}
}