Skip to content

Commit

Permalink
fix(setToolOptions): glaring error for setToolOptions where toolNam…
Browse files Browse the repository at this point in the history
…e is never passed
  • Loading branch information
dannyrb committed Jun 11, 2019
1 parent c31f1a3 commit 63cf1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/setToolOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const setToolOptionsForElement = function(element, toolName, options) {
*/
const setToolOptions = function(toolName, options) {
state.enabledElements.forEach(element => {
setToolOptionsForElement(element, options);
setToolOptionsForElement(element, toolName, options);
});
};

Expand Down

0 comments on commit 63cf1a0

Please sign in to comment.