Fixed bug with byte item positions not being adjusted on resize of the memory inspection panel, due to the row count remaining the same
This commit is contained in:
@@ -87,8 +87,8 @@ void ByteItemGraphicsScene::adjustByteWidgets() {
|
||||
std::max(((rowCount * byteWidgetHeight) + margins.top() + margins.bottom()), this->parent->height())
|
||||
);
|
||||
|
||||
// Don't bother recalculating the byte item positions if the number of rows have not changed.
|
||||
if (rowCount == this->byteItemsByRowIndex.size()) {
|
||||
// Don't bother recalculating the byte item positions if the number of rows & columns have not changed.
|
||||
if (rowCount == this->byteItemsByRowIndex.size() && rowCapacity == this->byteItemsByColumnIndex.size()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user