[calculation] HistoryViewCell: fix layoutSubviews to fix weird scrolling

When successively adding calculations 0.2 and int(x*exp(-4x), 0,99) the
reloadScroll would fail
This commit is contained in:
Émilie Feral
2019-05-02 11:45:14 +02:00
parent a7d8160ee0
commit 3168ec14c3

View File

@@ -129,7 +129,7 @@ void HistoryViewCell::layoutSubviews() {
maxCoordinate(0, maxFrameWidth - outputSize.width()),
inputSize.height(),
minCoordinate(maxFrameWidth, outputSize.width()),
bounds().height() - inputSize.height()
outputSize.height()
));
}