Skip to content

gui_toolkit 0.354.0

Choose a tag to compare

@sachahjkl sachahjkl released this 24 Nov 11:28
· 364 commits to master since this release
v0.354.0
6c1d60b

Added

  • Preview_Options.shift_wheel_free: Shift+wheel over a preview is the program's, neither a zoom nor a pan.
    ui.wheel_free gives the program the wheel that no box took, with its modifiers. A box leaves Shift+wheel to what is
    around it with .Shift_Wheel_Free.
  • ui.swipe_step: a horizontal swipe of the fingers on a touchpad gives one step, +1 or -1, per gesture (ui.Swipe).
    A gesture ends when the fingers lift or after 150 ms with no scroll. A wheel's notches never count.
    • platform.Event.scroll_source says whether fingers or a wheel made a scroll, and scroll_end that the fingers
      left the touchpad. Wayland says both; Windows counts a delta that is not a whole notch as fingers; X11 gives notches only.
    • On Wayland, the axis events of one pointer frame now come as one Scroll event.
    • session.finger_scroll and session.finger_lift drive it in a test.