Skip to content

effects/slide: Stretch screen if there's no desktop to slide to

Vlad Zahorodnii requested to merge work/zzag/slide-feedback into master

If desktop wrapping is disabled and there's no desktop to slide to, stretch the screen along the scroll direction. It's a nice visual touch that indicates the user that swipe gesture is handled but there's no desktop to slide to.

The stretch effect is inspired by the one in Android 12. The rubber band effect is not used because it is patented by Apple.

Alternative to !2319 (closed)


Edited by Vlad Zahorodnii

Merge request reports