Files
gio/widget
Dominik Honnef ea37124686 widget: constrain drag offset to [0, 1]
Once the user begins dragging, the cursor can move outside the clip
area (or even the window on at least X11), leading to events with
positions that are either negative, or larger than the clip area.

Negative values outright break the delta tracking and cause the
scrollbar to misbehave. Positive values "only" break the invariant of
Scrollbar.ScrollDistance that the returned value is in the range [-1, 1].

Signed-off-by: Dominik Honnef <dominik@honnef.co>
2022-06-30 08:01:49 +02:00
..
2022-06-25 18:41:32 +02:00
2021-12-07 12:45:53 +01:00
2019-11-06 10:57:17 +01:00
2021-10-07 15:01:17 +02:00
2021-02-28 10:19:49 +01:00