1
0
mirror of synced 2024-11-28 09:30:51 +01:00

fix: Resize operations not working correctly

#1463
This commit is contained in:
WerWolv 2023-12-15 20:59:58 +01:00
parent b5df20d7c6
commit b1aa4fd3f8

View File

@ -74,7 +74,7 @@ namespace hex::prv {
if (difference > 0)
EventProviderDataInserted::post(this, this->getActualSize(), difference);
else if (difference < 0)
EventProviderDataRemoved::post(this, this->getActualSize(), -difference);
EventProviderDataRemoved::post(this, this->getActualSize() + difference, -difference);
this->markDirty();
}