#142 Add WHEEL_SCROLL_BY_INERTION Scroll style param

This commit is contained in:
Insality
2021-10-23 17:10:15 +03:00
parent d24301cd13
commit 009c3999c4
3 changed files with 25 additions and 7 deletions

View File

@@ -248,4 +248,6 @@ Have a good day.
- The `failure_callback`will be called if `check_function` will return false. It's callback for you if button is not available
- Example with `set_check_function` exists in general:buttons example collection
- **#107** Better scale text adjust by height for multiline text nodes (but still not perfect)
- **#144** Fix some glitches with scroll Points of Interest. Remove false detection of scroll stopped.
- **#144** Fix some glitches with scroll Points of Interest. Remove false detection of scroll stopped.
- **#142** Add Scroll style param `WHEEL_SCROLL_BY_INERTION` (default - false). If true - mouse wheel will add inertion to scroll, if false - set position directly per mouse wheel event.
- This fix caused, what Mac trackpad seems have additional mouse wheel events for simulate inertion. If you uncomfortable with this, you can disable `WHEEL_SCROLL_BY_INERTION` for more controllable scroll by mouse wheel.