psychedelicious 75c1c4ce5a fix(ui): fix gallery nav math
- Use the virtuoso grid item container and list containers to calculate imagesPerRow, skipping manual compensation for padding of images
- Round the imagesPerRow instead of flooring - we often will end up with values like 4.99999 due to floating point precision
- Update `getDownImage` comments & logic to be clearer
- Use variables for the ids in query selectors, preventing future typos
- Only scroll if the new selected image is different from the prev one
2024-01-06 20:52:09 -05:00
..
2023-08-18 15:52:04 +10:00
2024-01-06 20:52:09 -05:00
2023-07-28 09:46:44 -04:00
2023-09-12 13:01:58 -04:00