ScrollView: remove gridToTilingSpace
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user