Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Touch Interaction #2079

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/Modeler.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import NavigatedViewer from './NavigatedViewer';

import KeyboardMoveModule from 'diagram-js/lib/navigation/keyboard-move';
import MoveCanvasModule from 'diagram-js/lib/navigation/movecanvas';
import TouchModule from 'diagram-js/lib/navigation/touch';
import ZoomScrollModule from 'diagram-js/lib/navigation/zoomscroll';

import AlignElementsModule from './features/align-elements';
Expand Down Expand Up @@ -156,7 +155,6 @@ Modeler.prototype._interactionModules = [
// non-modeling components
KeyboardMoveModule,
MoveCanvasModule,
TouchModule,
ZoomScrollModule
];

Expand Down
5 changes: 2 additions & 3 deletions test/integration/CustomElementsSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ import {

import customElementsModules from './custom-elements';

var noTouchInteractionModule = { touchInteractionEvents: [ 'value', null ] },
modelerModules = Modeler.prototype._modules,
customModules = [ customElementsModules, noTouchInteractionModule ];
var modelerModules = Modeler.prototype._modules,
customModules = [ customElementsModules ];

var testModules = [].concat(modelerModules, customModules);

Expand Down
41 changes: 0 additions & 41 deletions test/spec/features/label-editing/TouchIntegrationSpec.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import coreModule from 'lib/core';
import moveModule from 'diagram-js/lib/features/move';
import modelingModule from 'lib/features/modeling';

var noTouchInteractionModule = { touchInteractionEvents: [ 'value', null ] };

import {
createCanvasEvent as canvasEvent
} from '../../../../util/MockEvents';
Expand All @@ -26,7 +24,6 @@ describe('modeling/behavior - drop on connection', function() {

beforeEach(bootstrapModeler(diagramXML, {
modules: [
noTouchInteractionModule,
moveModule,
modelingModule,
coreModule
Expand Down
Loading