Skip to content

Commit a51f325

Browse files
committed
Fix redrawing of grid
1 parent 9eed16e commit a51f325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chalkboard/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**
44
** A plugin for reveal.js adding a chalkboard.
55
**
6-
** Version: 2.3.1
6+
** Version: 2.3.2
77
**
88
** License: MIT license (see LICENSE.md)
99
**
@@ -933,7 +933,7 @@ const initChalkboard = function ( Reveal ) {
933933
context.clearRect( x - 1, y - 1, eraser.radius * 2 + 2, eraser.radius * 2 + 2 );
934934
context.restore();
935935
if ( mode == 1 && grid ) {
936-
redrawGrid( x, y, eraser.radius );
936+
redrawGrid( x + eraser.radius, y + eraser.radius, eraser.radius );
937937
}
938938
}
939939

0 commit comments

Comments
 (0)