We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 987d9fb commit de49103Copy full SHA for de49103
1 file changed
src/index.js
@@ -615,7 +615,7 @@ export default class CanvasDraw extends PureComponent {
615
};
616
617
loop = ({ once = false } = {}) => {
618
- if (this.mouseHasMoved || this.valuesChanged) {
+ if (this.lazy && (this.mouseHasMoved || this.valuesChanged)) {
619
const pointer = this.lazy.getPointerCoordinates();
620
const brush = this.lazy.getBrushCoordinates();
621
0 commit comments