From b12b70a29440bf6cb70ceda7cb6a8de4fcc8cfcf Mon Sep 17 00:00:00 2001 From: Peter Fajdiga Date: Fri, 7 Jul 2023 12:47:26 +0200 Subject: [PATCH] ScrollView: remove `gridToTilingSpace` --- src/layout/ScrollView.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/layout/ScrollView.ts b/src/layout/ScrollView.ts index bd41fd7..bb7bcf4 100644 --- a/src/layout/ScrollView.ts +++ b/src/layout/ScrollView.ts @@ -130,12 +130,6 @@ class ScrollView { this.grid.arrange(this.tilingArea.x - this.scrollX); } - // TODO: remove - // convert x coordinate from grid space to tilingArea space - gridToTilingSpace(x: number) { - return x - this.scrollX; - } - public onGridWidthChanged() { this.autoAdjustScroll(); }