Browse Source

code style fix

merge-requests/19/head
dv4mp1r3 3 years ago
parent
commit
bbfea95deb
  1. 5
      src/index.ts

5
src/index.ts

@ -448,9 +448,8 @@ export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> {
this.crosshair.style('display', 'none');
}
isDoubleClickActive(): boolean
{
if (this.options.zoomEvents.mouse['doubleClick'] === undefined) {
isDoubleClickActive(): boolean {
if(this.options.zoomEvents.mouse.doubleClick === undefined) {
return false;
}
return this.options.zoomEvents.mouse.doubleClick.isActive;

Loading…
Cancel
Save