From 6e27d133a829d6af0a60a006ac5fa784094adf39 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Thu, 27 Jul 2017 23:05:43 -0400 Subject: [PATCH] remove throttles --- src/reducers/brush-tool.js | 5 +---- src/reducers/eraser-tool.js | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/reducers/brush-tool.js b/src/reducers/brush-tool.js index 7faca7f6..a155b9fc 100644 --- a/src/reducers/brush-tool.js +++ b/src/reducers/brush-tool.js @@ -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 }; }; diff --git a/src/reducers/eraser-tool.js b/src/reducers/eraser-tool.js index 50000eb4..71a0c8d1 100644 --- a/src/reducers/eraser-tool.js +++ b/src/reducers/eraser-tool.js @@ -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 }; };