Open sohang3112 opened 1 year ago
@tzutalin Please review this pull request, and let me know if there are any issues. Thanks in advance 🙂
@tzutalin Did you have a chance to review this PR yet?
@tzutalin Did you have a chance to review this PR yet?
The following error occurs in
scroll_request
method:This is because
units = - delta / (8 * 15)
is afloat
, sobar.value() + bar.singleStep() * units
is also coerced to afloat
. The solution is to use//
(integer division) instead of/
.