mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-08 21:52:00 -05:00
Merge branch 'addButtons' into addI18n
This commit is contained in:
commit
4c528a6ad9
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue