Skip to content

Commit

Permalink
Added showMousePointer config option to CanvasRecorder so that you ca…
Browse files Browse the repository at this point in the history
…n hide the mouse pointer if you dont want it to appear
  • Loading branch information
brianpursley committed Dec 3, 2015
1 parent 37441b2 commit 8e73799
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion RecordRTC.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Last time updated at Tuesday, October 27th, 2015, 4:33:33 PM
// Last time updated at Thursday, December 3rd, 2015, 9:54:34 PM

// links:
// Open-Sourced: https://github.com/muaz-khan/RecordRTC
Expand Down Expand Up @@ -2367,6 +2367,7 @@ function CanvasRecorder(htmlElement, config) {
}

html2canvas(htmlElement, {
grabMouse: typeof config.showMousePointer === 'undefined' || config.showMousePointer,
onrendered: function(canvas) {
if (isCanvasSupportsStreamCapturing) {
var image = document.createElement('img');
Expand Down
Loading

0 comments on commit 8e73799

Please sign in to comment.