chore: 增加滚动区域滚轮滚动到顶部或底部的回弹效果 #1397
Annotations
3 warnings
cppcheck:
src/widgets/dbounceanimation.cpp#L81
Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
|
cppcheck:
src/widgets/private/dbounceanimation_p.h#L13
Class 'DBounceAnimationPrivate' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.
|
cppcheck
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|