1
0
Fork 0
why-cant-we-deploy-today/js/controllers
Jens Lechtenbörger d2dff6a821 Fix target for click on progress bar
The progress bar shows how many slides have been passed in total.
However, when clicking on the progress bar, the target slide is
computed among the subset of /horizontal/ slides.  Thus, when the new
slide is displayed, the progress bar has usually changed to a point
that is unrelated to the clicked one, which I find surprising.

With this change, the target slide is computed from the number of
total slides.  Thus, after a click on the progress bar, the resulting
progress is close to the clicked point, which seems more natural to
me.
2020-11-08 17:39:04 +01:00
..
autoanimate.js docs: Fix simple typo, transiition -> transition 2020-09-08 08:02:34 +10:00
backgrounds.js switch old toArray helper to Array.from 2020-03-16 15:18:47 +01:00
controls.js switch old toArray helper to Array.from 2020-03-16 15:18:47 +01:00
focus.js polyfill element.closest for ie11 2020-05-26 10:45:05 +02:00
fragments.js auto-animate; carry forward fragment visibility, unmatched elements adhere to duration/delay attributes 2020-03-19 15:18:14 +01:00
keyboard.js fix and tests for custom key bindings in help overlay 2020-05-12 13:33:19 +02:00
location.js don't write '#/' to url on first slide, remove history api feature detection 2020-06-02 09:08:00 +02:00
notes.js fix slide notes printing 2020-05-21 23:56:23 +10:00
overview.js switch old toArray helper to Array.from 2020-03-16 15:18:47 +01:00
plugins.js plugins can be direct references or factory functions 2020-04-23 09:39:26 +02:00
pointer.js move pointer logic out to own controller 2020-04-07 13:25:46 +02:00
print.js fix slide notes printing 2020-05-21 23:56:23 +10:00
progress.js Fix target for click on progress bar 2020-11-08 17:39:04 +01:00
slidecontent.js bg videos remain muted on mobile, otherwise broken when navigating with swipe gestures 2020-06-16 11:20:15 +02:00
slidenumber.js fix slide numbering issue with uncounted horizontal slides (fixes #2675) 2020-06-05 11:47:46 +02:00
touch.js dont prevent page scrolling when swiping on embedded decks 2020-05-08 20:12:52 +02:00