Bound interval when adding the widget

rectForDrop() doesn't know about the anchors bounds, so we need to
adjust the interval after. Fixes fuzzer testcase 16
This commit is contained in:
Sergio Martins
2020-01-22 22:38:37 +00:00
parent d5162efa31
commit 0003b508d6
2 changed files with 42 additions and 1 deletions

View File

@@ -448,6 +448,7 @@ private:
Anchor *side2;
};
std::pair<int,int> boundInterval(int newPos1, Anchor* anchor1, int newPos2, Anchor *anchor2) const;
void blockItemPropagateGeo(bool block);
/**