From 00db1968e580624b089928237341fd2875708a70 Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 21 Nov 2017 16:27:20 +0100 Subject: [PATCH] ops initialize array --- src/vs/base/browser/touch.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/base/browser/touch.ts b/src/vs/base/browser/touch.ts index fa16eed1ee3..dc40dfa14b9 100644 --- a/src/vs/base/browser/touch.ts +++ b/src/vs/base/browser/touch.ts @@ -81,6 +81,7 @@ export class Gesture implements IDisposable { this.toDispose = []; this.activeTouches = {}; this.handle = null; + this.targets = []; this.toDispose.push(DomUtils.addDisposableListener(document, 'touchstart', (e) => this.onTouchStart(e))); this.toDispose.push(DomUtils.addDisposableListener(document, 'touchend', (e) => this.onTouchEnd(e))); this.toDispose.push(DomUtils.addDisposableListener(document, 'touchmove', (e) => this.onTouchMove(e))); -- GitLab