About ScrollWheel::setOvershootPercentage()
- August 23, 2022
- 2 replies
- 1708 views
This is a question about ScrollWheel::setOvershootPercentage(uint8_t percentage) added in TouchGFX v4.19.0.
setOvershootPercentage() works as expected for ScrollList, but not for ScrollWheel.
(There is no change in behavior regardless of the setOvershootPercentage() value.)
When I check the source code of ScrollWheel, the process is as follows.
In ScrollBase::handleDragEvent(), refer to "overshootPercentage" set in setOvershootPercentage() and perform operation processing when dragging.
However, for ScrollWheel, the parent class, ScrollWheelBase, overrides handleDragEvent(), so I think that it is a problem behavior without referring to "overshootPercentage".
If this is the cause, is there any plan to support it in the framework?
I have attached a sample project, so please point out if there are any problems.
(Created with TouchGFX v4.20.0 (Windows Simulator).
The same behavior when creating with STM32H7B3I-DK. )
Thanks in advance.
