From e8ab5c8ea01b11614c6b29b19dfb50b17b04dc55 Mon Sep 17 00:00:00 2001 From: klesaulnier <42617371+archendel@users.noreply.github.com> Date: Fri, 21 Jul 2023 16:32:30 +0200 Subject: [PATCH] Remove busType from bus handler (#26) Signed-off-by: LE SAULNIER Kevin --- src/single-line-diagram-viewer.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/single-line-diagram-viewer.ts b/src/single-line-diagram-viewer.ts index 89e6d0d9..96f84e16 100644 --- a/src/single-line-diagram-viewer.ts +++ b/src/single-line-diagram-viewer.ts @@ -89,7 +89,6 @@ export type OnFeederCallbackType = ( export type OnBusCallbackType = ( busId: string, - busType: string | null, svgId: string, x: number, y: number @@ -734,7 +733,6 @@ export class SingleLineDiagramViewer { this.onBusCallback && this.onBusCallback( bus.equipmentId, - bus.componentType, bus.id, event.x, event.y