Commit 745faa63 authored by Jan-Philipp Stauffert's avatar Jan-Philipp Stauffert
Browse files

Add chalkboard condition to key bindings

parent a569e83b
......@@ -292,12 +292,14 @@ $endif$
keyboard: {
40: function() { Reveal.next(); }, // up: next slide
38: function() { Reveal.prev(); }, // down: prev slide
$if(chalkboard)$
67: function() { window.RevealChalkboard.toggleNotesCanvas() }, // c: draw on slides
84: function() { window.RevealChalkboard.toggleChalkboard() }, // t: draw on blackboard
8: function() { window.RevealChalkboard.clear() }, // BACKSPACE: clear chalkboard
46: function() { window.RevealChalkboard.resetSlide() }, // DELETE: reset chalkboard
68: function() { window.RevealChalkboard.downloadData() }, // d: downlad chalkboard drawing
90: function() { window.RevealChalkboard.drawUndo() } , // z: undo last stroke
$endif$
},
});
</script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment