ScrollView: remove gridToTilingSpace

This commit is contained in:
Peter Fajdiga
2023-07-07 12:47:26 +02:00
parent 0a3ba5c963
commit b12b70a294

View File

@@ -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();
}