Skip to content

Conversation

@veroxzik
Copy link
Contributor

This addresses my issue #835 and is two fold:

  1. Previously, any non-negative deltaY change to the mouse wheel would cause a photo in the lightbox zoom out, regardless of the direction. I have changed this so that zoom out is only possible with positive deltaY values.
  2. I have added the option to scroll through photos in the lightbox using horizontal scrolling (deltaX). This mimics the behavior of left/right arrow and allows for navigation solely with the mouse. I've also changed it so you can use this scroll on videos. The previous behavior of canceling zoom on videos remains.

Thanks for the consideration!

@bpatrik
Copy link
Owner

bpatrik commented Mar 2, 2024

Great! Thank you for your contribution!

@bpatrik bpatrik merged commit 7f30561 into bpatrik:master Mar 2, 2024
@bpatrik bpatrik added this to the Next (probably v2.5) milestone Mar 2, 2024
@bpatrik bpatrik self-requested a review March 2, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants