change comment

This commit is contained in:
DD Liu 2017-08-23 10:56:37 -04:00
parent aafa73a967
commit 8616e49f1a
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class BrushMode extends React.Component {
} }
} }
shouldComponentUpdate () { shouldComponentUpdate () {
return false; // Logic only component return false; // Static component, for now
} }
activateTool () { activateTool () {
// TODO: Instead of clearing selection, consider a kind of "draw inside" // TODO: Instead of clearing selection, consider a kind of "draw inside"

View file

@ -33,7 +33,7 @@ class EraserMode extends React.Component {
} }
} }
shouldComponentUpdate () { shouldComponentUpdate () {
return false; // Logic only component return false; // Static component, for now
} }
activateTool () { activateTool () {
this.props.canvas.addEventListener('mousewheel', this.onScroll); this.props.canvas.addEventListener('mousewheel', this.onScroll);