Skip to content

Commit

Permalink
feat(FreehandMouseTool, FreehandSculpterMouseTool, BrushTool): Touch …
Browse files Browse the repository at this point in the history
…controls for these tools.

Touch controls for the FreehandMouseTool, the FreehandSculpterMouseTool and the BrushTool.
  • Loading branch information
James Petts committed Mar 20, 2019
1 parent 4f1a6ac commit 03b188e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/eventDispatchers/shared/customCallbackHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ export default function(handlerType, customFunction, evt) {
return false;
}

console.log(customFunction, state.isMultiPartToolActive);

// TODO: We sometimes see a null detail for TOUCH_PRESS
const element = evt.detail.element;
let tools = state.tools.filter(tool =>
Expand Down
1 change: 1 addition & 0 deletions src/tools/FreehandSculpterMouseTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export default class FreehandSculpterMouseTool extends BaseTool {
activeTouchEndCallback(evt) {
this._activeEnd(evt);

this._deselectAllTools(evt);
this._recentTouchEnd = true;
}

Expand Down

0 comments on commit 03b188e

Please sign in to comment.