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