diff --git a/src/index.ts b/src/index.ts index 046075b..2db6de2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -462,7 +462,7 @@ export class LinePod extends ChartwerkPod { if(this.isOutOfChart() === true) { return; } - if (!this.isDoubleClickActive()) { + if (this.d3.event.type === 'dblclick' && !this.isDoubleClickActive()) { return; } // TODO: its not clear, why we use this orientation here. Mb its better to use separate option