Commit Graph

5 Commits (f319b246dbf1889622d893b77fca153616fcfc2c)

Author SHA1 Message Date
hakimel 5e12c6aeb7 additional cleanup when destroying #1145 2022-02-21 14:28:11 +01:00
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
Hakim El Hattab ac79c7cd8b leave the progress bar empty if there's < 2 slides 2020-06-05 09:37:44 +02:00
Hakim El Hattab df61f9e1fa progress bar width set via scale instead of width for perf 2020-05-20 10:42:55 +02:00
Hakim El Hattab 6ff4e9306c move progress bar to new module 2020-03-16 14:30:36 +01:00