mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-10 14:42:13 -05:00
remove throttles
This commit is contained in:
parent
a42c6dc564
commit
6e27d133a8
2 changed files with 2 additions and 8 deletions
src/reducers
|
@ -21,10 +21,7 @@ const reducer = function (state, action) {
|
||||||
reducer.changeBrushSize = function (brushSize) {
|
reducer.changeBrushSize = function (brushSize) {
|
||||||
return {
|
return {
|
||||||
type: CHANGE_BRUSH_SIZE,
|
type: CHANGE_BRUSH_SIZE,
|
||||||
brushSize: brushSize,
|
brushSize: brushSize
|
||||||
meta: {
|
|
||||||
throttle: 30
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,7 @@ const reducer = function (state, action) {
|
||||||
reducer.changeBrushSize = function (brushSize) {
|
reducer.changeBrushSize = function (brushSize) {
|
||||||
return {
|
return {
|
||||||
type: CHANGE_ERASER_SIZE,
|
type: CHANGE_ERASER_SIZE,
|
||||||
brushSize: brushSize,
|
brushSize: brushSize
|
||||||
meta: {
|
|
||||||
throttle: 30
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue