From cc58d27122eadead29d7cc2a30f2d6adde1f4436 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 1 Oct 2021 14:07:58 +0200 Subject: [PATCH] the build currently does not like override for some reason --- src/platform/web/ui/session/room/TimelineView.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/platform/web/ui/session/room/TimelineView.ts b/src/platform/web/ui/session/room/TimelineView.ts index cf60ec41..da3dc537 100644 --- a/src/platform/web/ui/session/room/TimelineView.ts +++ b/src/platform/web/ui/session/room/TimelineView.ts @@ -211,12 +211,12 @@ class TilesListView extends ListView { this.onChanged = onChanged; } - override onReset() { + onReset() { super.onReset(); this.onChanged(); } - override onUpdate(index: number, value: SimpleTile, param: any) { + onUpdate(index: number, value: SimpleTile, param: any) { if (param === "shape") { const ExpectedClass = viewClassForEntry(value); const child = this.getChildInstanceByIndex(index); @@ -232,17 +232,17 @@ class TilesListView extends ListView { this.onChanged(); } - override onAdd(idx: number, value: SimpleTile) { + onAdd(idx: number, value: SimpleTile) { super.onAdd(idx, value); this.onChanged(); } - override onRemove(idx: number, value: SimpleTile) { + onRemove(idx: number, value: SimpleTile) { super.onRemove(idx, value); this.onChanged(); } - override onMove(fromIdx: number, toIdx: number, value: SimpleTile) { + onMove(fromIdx: number, toIdx: number, value: SimpleTile) { super.onMove(fromIdx, toIdx, value); this.onChanged(); }