diff --git a/mesh.js b/mesh.js index 9e90c8c..9651948 100644 --- a/mesh.js +++ b/mesh.js @@ -764,7 +764,7 @@ proto.pick = function(pickData) { var data = closestPoint( simplex, - [pickData.coord[0], this._resolution[1]-pickData.coord[1]], + [this.pixelRatio * pickData.coord[0], this._resolution[1] - this.pixelRatio * pickData.coord[1]], this._model, this._view, this._projection,