Fix #110853: Trackpad: support for 'ui_colorpicker_small_wheel_cb' #110928

Open
YimingWu wants to merge 4 commits from ChengduLittleA/blender:fix-110853 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

4 Commits

Author SHA1 Message Date
YimingWu f934470476 Remove interface_handlers.cc 2023-08-19 16:41:53 +08:00
YimingWu 0586c8fbc1 Misunderstood UI_SCALE_FAC, correcting. 2023-08-09 22:10:54 +08:00
YimingWu 37401ec264 Use `U.scale_factor / UI_SCALE_FAC` to replace `U.dpi_fac` 2023-08-09 10:18:20 +08:00
YimingWu 1880cbd782 Fix #110853: Trackpad: support for 'ui_colorpicker_small_wheel_cb'
Allow change values with Trackpad for Color Picker buttons.

Adds the ability to change values with Trackpad, in addition to the Mouse Wheel,
inside the colorpicker box with MOUSEPAN. Fix CTRL+MOUSEPAN over color button.

This patch was originally authored by Yevgeny Makarov (@jenkm) as
https://archive.blender.org/developer/D8811 , now porting this as a PR.
2023-08-08 21:31:18 +08:00