Commit Graph

72 Commits

Author SHA1 Message Date
236d3e3722 tidy up code for #2940 2021-04-28 09:03:27 +02:00
a112712f12 Merge pull request #2940 from cmeessen/fix_multiple_data-background
Fix: multiple image-urls in data-background-image
2021-04-28 08:55:30 +02:00
5d8d673117 Add missing semicolons 2021-04-23 10:15:40 +00:00
6d735ddaf8 stop playing media inside of fragments when the fragment is hidden 2021-04-23 10:56:18 +02:00
8347a2de58 Allow multiple data-background 2021-04-23 08:55:36 +00:00
444d127053 Merge pull request #2933 from csachs/hasDarkBackgroundNamedColor
Use computed background style if colorToRgb fails (fixes #2635)
2021-04-14 13:20:42 +02:00
be110fad11 prevent accidental swipe gestures when scrubbing video/audio timelines 2021-04-12 11:17:06 +02:00
d1f6e6cce9 use computed background style if colorToRgb fails
fixes #2635
2021-04-11 13:25:36 +02:00
f576b98fbd rerun r-fit-text based on printed slide size, fixes overflow when printing to PDF #2865 2020-12-17 08:49:51 +01:00
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
4d62dcc674 Merge branch 'master' of github.com:hakimel/reveal.js into dev 2020-09-09 10:26:42 +02:00
2c121d22ac docs: Fix simple typo, transiition -> transition
There is a small typo in js/controllers/autoanimate.js.

Should read `transition` rather than `transiition`.
2020-09-08 08:02:34 +10:00
9ff27cfbc9 bg videos remain muted on mobile, otherwise broken when navigating with swipe gestures 2020-06-16 11:20:15 +02:00
2fccb77405 add 'playsinline' to all inline videos, dont mute background videos on mobile 2020-06-16 10:27:09 +02:00
be460814ac correct scope for fit-text selector 2020-06-09 10:32:56 +02:00
aa6677911c fit-text helper now triggers lazyily when slide enters view distance 2020-06-09 10:28:01 +02:00
66cbd66fb6 fix slide numbering issue with uncounted horizontal slides (fixes #2675) 2020-06-05 11:47:46 +02:00
ac79c7cd8b leave the progress bar empty if there's < 2 slides 2020-06-05 09:37:44 +02:00
c91074761a don't write '#/' to url on first slide, remove history api feature detection 2020-06-02 09:08:00 +02:00
b7487b8b4f polyfill element.closest for ie11 2020-05-26 10:45:05 +02:00
e6244a57b5 fix polyfills, add ie11 support 2020-05-26 09:47:01 +02:00
4e839b3d78 fix slide notes printing 2020-05-21 23:56:23 +10:00
35db006c02 fix overlapping ids when auto-animating multiple presentations in same window 2020-05-20 19:14:45 +02:00
df61f9e1fa progress bar width set via scale instead of width for perf 2020-05-20 10:42:55 +02:00
f04a00672c fix and tests for custom key bindings in help overlay 2020-05-12 13:33:19 +02:00
664beff715 add focus controller, manages keyboard focus across multiple embedded decks 2020-05-11 09:15:02 +02:00
ba0b367ed9 remove nuking of hash changes when hash is disabled 2020-05-08 20:53:10 +02:00
3a032a836a fix auto-animate bug on centered slides 2020-05-08 20:33:28 +02:00
a0a1ae193f dont prevent page scrolling when swiping on embedded decks 2020-05-08 20:12:52 +02:00
b7f480c908 fix fullscreen for embedded decks 2020-05-05 20:54:40 +02:00
f2fbc59bcc fix auto-animate error and spec 2020-04-29 11:39:45 +02:00
b84888214b fix auto-animate bug on devices with < 2 devicePixelRatio 2020-04-29 10:00:25 +02:00
210fbb7646 plugins can be direct references or factory functions 2020-04-23 09:39:26 +02:00
f138f507a0 fix contenteditable check #2650 2020-04-22 11:59:23 +02:00
9823be99f4 fragments are now included in URL by default, even on named slides 2020-04-22 11:11:14 +02:00
faaa791019 backwards compatibility, reveal.js 4.0 can now register ~3.9 plugins 2020-04-21 13:34:40 +02:00
91953207a5 simplify plugin controller 2020-04-21 09:50:19 +02:00
e58502b3fb tweak plugin initialization to enable multi-instance plugins 2020-04-17 14:10:56 +02:00
d9690462e0 add 'plugins' config option, new way of registering es5 plugins 2020-04-17 09:47:03 +02:00
08f29f08a2 initialize plugins serially 2020-04-16 16:40:46 +02:00
a55cd813be convert plugins to ES modules, transpile es5 versions backwards compatibility 2020-04-15 10:23:51 +02:00
9522357349 changes to plugin api; registerPlugin only accepts plugin instance, instance exposes .id 2020-04-08 13:05:28 +02:00
6030043036 move pointer logic out to own controller 2020-04-07 13:25:46 +02:00
855cc82d76 Reveal.add/remveEventListener -> Reveal.on/off 2020-04-07 09:05:56 +02:00
e4faf54804 move history api feature detection to utils 2020-03-31 13:09:44 +02:00
34ab7ded55 only carry forward fragment visibiltiy if style remains unchanged 2020-03-19 16:27:42 +01:00
4d1cb43faf auto-animate; carry forward fragment visibility, unmatched elements adhere to duration/delay attributes 2020-03-19 15:18:14 +01:00
376b8230bb unmatched auto-aniamte elements now adhere to element-level duration/delay attributes 2020-03-17 19:38:26 +01:00
2540712714 switch old toArray helper to Array.from 2020-03-16 15:18:47 +01:00
6ff4e9306c move progress bar to new module 2020-03-16 14:30:36 +01:00