Carlos Garnacho 516d19eb39 slider: Cache slider width for dragging handlers
The actor allocation will be invalid on CLUTTER_TOUCH_BEGIN, because
it comes together with a CLUTTER_ENTER event that will recalculate
styles, and queue a relayout in result.

The net result is that on CLUTTER_TOUCH_BEGIN, the relayout has been
already queued, so the slider width comes up as 0, and the value ends
up as 1. Later touch events already happen on a validated actor, so
it is corrected. Still, not fun when modifying the volume slider on a
touchscreen.
2017-07-15 02:36:19 +02:00
..
2017-07-13 17:23:54 +02:00
2017-07-13 17:23:54 +02:00
2017-04-11 02:43:07 +02:00
2017-07-13 17:23:54 +02:00
2017-07-13 17:23:54 +02:00
2016-11-04 16:08:10 +01:00
2017-07-13 17:23:54 +02:00
2017-06-15 15:52:37 +02:00
2017-07-13 17:23:54 +02:00
2017-07-13 17:23:54 +02:00